Documentation ¶
Index ¶
Constants ¶
View Source
const ( KEYCLOAK_AUTH_URL = "http://localhost:8080/auth" KEYCLOAK_REALM = "go" KEYCLOAK_CLIENT_ID = "go-sso" )
Variables ¶
This section is empty.
Functions ¶
func GetAuthUrl ¶
func GetAuthUrl() string
func GetClientId ¶
func GetClientId() string
func GetResource ¶
func GetResource() string
func IsAuthorized ¶
Types ¶
type RealmAccess ¶
type RealmAccess struct {
RealmAccess Roles `json:"realm_access"`
}
Click to show internal directories.
Click to hide internal directories.