Versions in this module Expand all Collapse all v99 v99.0.0 Jun 30, 2022 Changes in this version + var AFFIRMATIVE = DecisionStrategyP("AFFIRMATIVE") + var CONSENSUS = DecisionStrategyP("CONSENSUS") + var DISABLED = PolicyEnforcementModeP("DISABLED") + var ENFORCING = PolicyEnforcementModeP("ENFORCING") + var NEGATIVE = LogicP("NEGATIVE") + var PERMISSIVE = PolicyEnforcementModeP("PERMISSIVE") + var POSITIVE = LogicP("POSITIVE") + var UNANIMOUS = DecisionStrategyP("UNANIMOUS") + func BoolP(value bool) *bool + func Float32P(value float32) *float32 + func Float64P(value float64) *float64 + func GetQueryParams(s interface{}) (map[string]string, error) + func Int32P(value int32) *int32 + func Int64P(value int64) *int64 + func IntP(value int) *int + func NilOrEmpty(value *string) bool + func NilOrEmptyArray(value *[]string) bool + func NilOrEmptySlice(value *[]string) bool + func PBool(value *bool) bool + func PFloat32(value *float32) float32 + func PFloat64(value *float64) float64 + func PInt(value *int) int + func PInt32(value *int32) int32 + func PInt64(value *int64) int64 + func PString(value *string) string + func PStringSlice(value *[]string) []string + func SetAuthAdminRealms(url string) func(client *gocloak) + func SetAuthRealms(url string) func(client *gocloak) + func SetCertCacheInvalidationTime(duration time.Duration) func(client *gocloak) + func SetLogoutEndpoint(url string) func(client *gocloak) + func SetOpenIDConnectEndpoint(url string) func(client *gocloak) + func SetTokenEndpoint(url string) func(client *gocloak) + func StringP(value string) *string + func UserAttributeContains(attributes map[string][]string, attribute, value string) bool + func WithTracer(ctx context.Context, tracer opentracing.Tracer) context.Context + type APIErrType string + const APIErrTypeInvalidGrant + const APIErrTypeUnknown + func ParseAPIErrType(err error) APIErrType + type APIError struct + Code int + Message string + Type APIErrType + func (apiError APIError) Error() string + type Access struct + Impersonate *bool + Manage *bool + ManageGroupMembership *bool + MapRoles *bool + View *bool + func (v *Access) String() string + type AccessRepresentation struct + Impersonate *bool + Manage *bool + ManageGroupMembership *bool + MapRoles *bool + View *bool + func (v *AccessRepresentation) String() string + type ActiveKeys struct + AES *string + HS256 *string + RS256 *string + func (v *ActiveKeys) String() string + type AdapterConfiguration struct + AuthServerURL *string + ConfidentialPort *int + Credentials interface{} + Realm *string + Resource *string + SSLRequired *string + type AggregatedPolicyRepresentation struct + Policies *[]string + func (v *AggregatedPolicyRepresentation) String() string + type Attributes struct + LDAPENTRYDN *[]string + LDAPID *[]string + func (v *Attributes) String() string + type AuthenticationExecutionRepresentation struct + Authenticator *string + AuthenticatorConfig *string + AuthenticatorFlow *bool + AutheticatorFlow *bool + FlowAlias *string + Priority *int + Requirement *string + UserSetupAllowed *bool + type AuthenticationFlowRepresentation struct + Alias *string + AuthenticationExecutions *[]AuthenticationExecutionRepresentation + BuiltIn *bool + Description *string + ID *string + ProviderID *string + TopLevel *bool + type BuiltinProtocolMappers struct + OpenIDConnect []ProtocolMapperRepresentation + SAML []ProtocolMapperRepresentation + type CertResponse struct + Keys *[]CertResponseKey + func (v *CertResponse) String() string + type CertResponseKey struct + Alg *string + Crv *string + E *string + KeyOps *[]string + Kid *string + Kty *string + N *string + Use *string + X *string + X5c *[]string + X5t *string + X5tS256 *string + X5u *string + Y *string + func (v *CertResponseKey) String() string + type Client struct + Access *map[string]interface{} + AdminURL *string + Attributes *map[string]string + AuthenticationFlowBindingOverrides *map[string]string + AuthorizationServicesEnabled *bool + AuthorizationSettings *ResourceServerRepresentation + BaseURL *string + BearerOnly *bool + ClientAuthenticatorType *string + ClientID *string + ConsentRequired *bool + DefaultClientScopes *[]string + DefaultRoles *[]string + Description *string + DirectAccessGrantsEnabled *bool + Enabled *bool + FrontChannelLogout *bool + FullScopeAllowed *bool + ID *string + ImplicitFlowEnabled *bool + Name *string + NodeReRegistrationTimeout *int32 + NotBefore *int32 + OptionalClientScopes *[]string + Origin *string + Protocol *string + ProtocolMappers *[]ProtocolMapperRepresentation + PublicClient *bool + RedirectURIs *[]string + RegisteredNodes *map[string]string + RegistrationAccessToken *string + RootURL *string + Secret *string + ServiceAccountsEnabled *bool + StandardFlowEnabled *bool + SurrogateAuthRequired *bool + WebOrigins *[]string + func (v *Client) String() string + type ClientMappingsRepresentation struct + Client *string + ID *string + Mappings *[]Role + func (v *ClientMappingsRepresentation) String() string + type ClientPolicyRepresentation struct + Clients *[]string + func (v *ClientPolicyRepresentation) String() string + type ClientScope struct + ClientScopeAttributes *ClientScopeAttributes + Description *string + ID *string + Name *string + Protocol *string + ProtocolMappers *[]ProtocolMappers + func (v *ClientScope) String() string + type ClientScopeAttributes struct + ConsentScreenText *string + DisplayOnConsentScreen *string + IncludeInTokenScope *string + func (v *ClientScopeAttributes) String() string + type Component struct + ComponentConfig *map[string][]string + ID *string + Name *string + ParentID *string + ProviderID *string + ProviderType *string + SubType *string + func (v *Component) String() string + type CompositesRepresentation struct + Client *map[string][]string + Realm *[]string + func (v *CompositesRepresentation) String() string + type CreateAuthenticationExecutionFlowRepresentation struct + Alias *string + Description *string + Provider *string + Type *string + type CreateAuthenticationExecutionRepresentation struct + Provider *string + type CreatePermissionTicketParams struct + Claims *map[string][]string + ResourceID *string + ResourceScopes *[]string + func (v *CreatePermissionTicketParams) String() string + type CredentialRepresentation struct + Algorithm *string + Config *MultiValuedHashMap + Counter *int32 + CreatedDate *int64 + CredentialData *string + Device *string + Digits *int32 + HashIterations *int32 + HashedSaltedValue *string + ID *string + Period *int32 + Priority *int32 + Salt *string + SecretData *string + Temporary *bool + Type *string + UserLabel *string + Value *string + func (v *CredentialRepresentation) String() string + type DecisionStrategy string + func DecisionStrategyP(value DecisionStrategy) *DecisionStrategy + type EnforcedString string + func (s *EnforcedString) MarshalJSON() ([]byte, error) + func (s *EnforcedString) UnmarshalJSON(data []byte) error + type EventRepresentation struct + ClientID *string + Details map[string]string + IPAddress *string + RealmID *string + SessionID *string + Time int64 + Type *string + UserID *string + type ExecuteActionsEmail struct + Actions *[]string + ClientID *string + Lifespan *int + RedirectURI *string + UserID *string + func (v *ExecuteActionsEmail) String() string + type FederatedIdentityRepresentation struct + IdentityProvider *string + UserID *string + UserName *string + func (v *FederatedIdentityRepresentation) String() string + type GetClientsParams struct + ClientID *string + First *int + Max *int + Search *bool + SearchableAttributes *string + ViewableOnly *bool + func (v *GetClientsParams) String() string + type GetComponentsParams struct + Name *string + ParentID *string + ProviderType *string + func (v *GetComponentsParams) String() string + type GetEventsParams struct + Client *string + DateFrom *string + DateTo *string + First *int32 + IPAddress *string + Max *int32 + Type []string + UserID *string + type GetGroupsParams struct + BriefRepresentation *bool + First *int + Full *bool + Max *int + Search *string + func (obj *GetGroupsParams) String() string + func (obj GetGroupsParams) MarshalJSON() ([]byte, error) + type GetPermissionParams struct + First *int + Max *int + Name *string + Resource *string + Scope *string + Type *string + func (v *GetPermissionParams) String() string + type GetPolicyParams struct + First *int + Max *int + Name *string + Permission *bool + Type *string + func (v *GetPolicyParams) String() string + type GetResourceParams struct + Deep *bool + ExactName *bool + First *int + MatchingURI *bool + Max *int + Name *string + Owner *string + Scope *string + Type *string + URI *string + func (v *GetResourceParams) String() string + type GetResourcePoliciesParams struct + First *int + Max *int + Name *string + ResourceID *string + Scope *string + func (v *GetResourcePoliciesParams) String() string + type GetRoleParams struct + BriefRepresentation *bool + First *int + Max *int + Search *string + func (v *GetRoleParams) String() string + type GetScopeParams struct + Deep *bool + First *int + Max *int + Name *string + func (v *GetScopeParams) String() string + type GetUserPermissionParams struct + First *int + Granted *bool + Max *int + Owner *string + Requester *string + ResourceID *string + ReturnNames *string + ScopeID *string + func (v *GetUserPermissionParams) String() string + type GetUsersByRoleParams struct + First *int + Max *int + func (v *GetUsersByRoleParams) String() string + type GetUsersParams struct + BriefRepresentation *bool + Email *string + EmailVerified *bool + Enabled *bool + Exact *bool + First *int + FirstName *string + IDPAlias *string + IDPUserID *string + LastName *string + Max *int + Q *string + Search *string + Username *string + func (v *GetUsersParams) String() string + type GoCloak interface + AddClientRoleComposite func(ctx context.Context, token, realm, roleID string, roles []Role) error + AddClientRoleToGroup func(ctx context.Context, token, realm, idOfClient, groupID string, roles []Role) error + AddClientRoleToUser func(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + AddDefaultGroup func(ctx context.Context, accessToken, realm, groupID string) error + AddDefaultScopeToClient func(ctx context.Context, token, realm, idOfClient, scopeID string) error + AddOptionalScopeToClient func(ctx context.Context, token, realm, idOfClient, scopeID string) error + AddRealmRoleComposite func(ctx context.Context, token, realm, roleName string, roles []Role) error + AddRealmRoleToGroup func(ctx context.Context, token, realm, groupID string, roles []Role) error + AddRealmRoleToUser func(ctx context.Context, token, realm, userID string, roles []Role) error + AddUserToGroup func(ctx context.Context, token, realm, userID, groupID string) error + ClearKeysCache func(ctx context.Context, token, realm string) error + ClearRealmCache func(ctx context.Context, token, realm string) error + ClearUserCache func(ctx context.Context, token, realm string) error + CreateAuthenticationExecution func(ctx context.Context, token, realm, flow string, ...) error + CreateAuthenticationExecutionFlow func(ctx context.Context, token, realm, flow string, ...) error + CreateAuthenticationFlow func(ctx context.Context, token, realm string, ...) error + CreateChildGroup func(ctx context.Context, token, realm, groupID string, group Group) (string, error) + CreateClient func(ctx context.Context, accessToken, realm string, newClient Client) (string, error) + CreateClientProtocolMapper func(ctx context.Context, token, realm, idOfClient string, ...) (string, error) + CreateClientRepresentation func(ctx context.Context, realm string) (*Client, error) + CreateClientRole func(ctx context.Context, accessToken, realm, idOfClient string, role Role) (string, error) + CreateClientScope func(ctx context.Context, accessToken, realm string, scope ClientScope) (string, error) + CreateClientScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string, ...) error + CreateClientScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClient string, roles []Role) error + CreateClientScopeProtocolMapper func(ctx context.Context, accessToken, realm, scopeID string, ...) (string, error) + CreateClientScopesScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClientScope, idOfClient string, ...) error + CreateClientScopesScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClientScope string, roles []Role) error + CreateComponent func(ctx context.Context, accessToken, realm string, component Component) (string, error) + CreateGroup func(ctx context.Context, accessToken, realm string, group Group) (string, error) + CreateIdentityProvider func(ctx context.Context, token, realm string, ...) (string, error) + CreateIdentityProviderMapper func(ctx context.Context, token, realm, alias string, mapper IdentityProviderMapper) (string, error) + CreatePermission func(ctx context.Context, token, realm, idOfClient string, ...) (*PermissionRepresentation, error) + CreatePermissionTicket func(ctx context.Context, token, realm string, ...) (*PermissionTicketResponseRepresentation, error) + CreatePolicy func(ctx context.Context, token, realm, idOfClient string, ...) (*PolicyRepresentation, error) + CreateRealm func(ctx context.Context, token string, realm RealmRepresentation) (string, error) + CreateRealmRole func(ctx context.Context, token, realm string, role Role) (string, error) + CreateResource func(ctx context.Context, token, realm, idOfClient string, ...) (*ResourceRepresentation, error) + CreateResourceClient func(ctx context.Context, token, realm string, resource ResourceRepresentation) (*ResourceRepresentation, error) + CreateResourcePolicy func(ctx context.Context, token, realm, resourceID string, ...) (*ResourcePolicyRepresentation, error) + CreateScope func(ctx context.Context, token, realm, idOfClient string, ...) (*ScopeRepresentation, error) + CreateUser func(ctx context.Context, token, realm string, user User) (string, error) + CreateUserFederatedIdentity func(ctx context.Context, token, realm, userID, providerID string, ...) error + DecodeAccessToken func(ctx context.Context, accessToken, realm string) (*jwt.Token, *jwt.MapClaims, error) + DecodeAccessTokenCustomClaims func(ctx context.Context, accessToken, realm string, claims jwt.Claims) (*jwt.Token, error) + DeleteAuthenticationExecution func(ctx context.Context, token, realm, executionID string) error + DeleteAuthenticationFlow func(ctx context.Context, token, realm, flowID string) error + DeleteClient func(ctx context.Context, accessToken, realm, idOfClient string) error + DeleteClientProtocolMapper func(ctx context.Context, token, realm, idOfClient, mapperID string) error + DeleteClientRepresentation func(ctx context.Context, accessToken, realm, clientID string) error + DeleteClientRole func(ctx context.Context, accessToken, realm, idOfClient, roleName string) error + DeleteClientRoleComposite func(ctx context.Context, token, realm, roleID string, roles []Role) error + DeleteClientRoleFromGroup func(ctx context.Context, token, realm, idOfClient, groupID string, roles []Role) error + DeleteClientRoleFromUser func(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + DeleteClientScope func(ctx context.Context, accessToken, realm, scopeID string) error + DeleteClientScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string, ...) error + DeleteClientScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClient string, roles []Role) error + DeleteClientScopeProtocolMapper func(ctx context.Context, accessToken, realm, scopeID, protocolMapperID string) error + DeleteClientScopesScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClientScope, ifOfClient string, ...) error + DeleteClientScopesScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClientScope string, roles []Role) error + DeleteComponent func(ctx context.Context, accessToken, realm, componentID string) error + DeleteCredentials func(ctx context.Context, token, realm, UserID, CredentialID string) error + DeleteGroup func(ctx context.Context, accessToken, realm, groupID string) error + DeleteIdentityProvider func(ctx context.Context, token, realm, alias string) error + DeleteIdentityProviderMapper func(ctx context.Context, token, realm, alias, mapperID string) error + DeletePermission func(ctx context.Context, token, realm, idOfClient, permissionID string) error + DeletePolicy func(ctx context.Context, token, realm, idOfClient, policyID string) error + DeleteRealm func(ctx context.Context, token, realm string) error + DeleteRealmRole func(ctx context.Context, token, realm, roleName string) error + DeleteRealmRoleComposite func(ctx context.Context, token, realm, roleName string, roles []Role) error + DeleteRealmRoleFromGroup func(ctx context.Context, token, realm, groupID string, roles []Role) error + DeleteRealmRoleFromUser func(ctx context.Context, token, realm, userID string, roles []Role) error + DeleteResource func(ctx context.Context, token, realm, idOfClient, resourceID string) error + DeleteResourceClient func(ctx context.Context, token, realm, resourceID string) error + DeleteResourcePolicy func(ctx context.Context, token, realm, permissionID string) error + DeleteScope func(ctx context.Context, token, realm, idOfClient, scopeID string) error + DeleteUser func(ctx context.Context, accessToken, realm, userID string) error + DeleteUserFederatedIdentity func(ctx context.Context, token, realm, userID, providerID string) error + DeleteUserFromGroup func(ctx context.Context, token, realm, userID, groupID string) error + DeleteUserPermission func(ctx context.Context, token, realm, ticketID string) error + DisableAllCredentialsByType func(ctx context.Context, token, realm, userID string, types []string) error + ExecuteActionsEmail func(ctx context.Context, token, realm string, params ExecuteActionsEmail) error + ExportIDPPublicBrokerConfig func(ctx context.Context, token, realm, alias string) (*string, error) + GetAdapterConfiguration func(ctx context.Context, accessToken, realm, clientID string) (*AdapterConfiguration, error) + GetAuthenticationExecutions func(ctx context.Context, token, realm, flow string) ([]*ModifyAuthenticationExecutionRepresentation, error) + GetAuthenticationFlows func(ctx context.Context, token, realm string) ([]*AuthenticationFlowRepresentation, error) + GetAuthorizationPolicyAssociatedPolicies func(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyRepresentation, error) + GetAuthorizationPolicyResources func(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyResourceRepresentation, error) + GetAuthorizationPolicyScopes func(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyScopeRepresentation, error) + GetAvailableClientRolesByGroupID func(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + GetAvailableClientRolesByUserID func(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + GetAvailableRealmRolesByGroupID func(ctx context.Context, token, realm, groupID string) ([]*Role, error) + GetAvailableRealmRolesByUserID func(ctx context.Context, token, realm, userID string) ([]*Role, error) + GetCerts func(ctx context.Context, realm string) (*CertResponse, error) + GetClient func(ctx context.Context, accessToken, realm, idOfClient string) (*Client, error) + GetClientOfflineSessions func(ctx context.Context, token, realm, idOfClient string) ([]*UserSessionRepresentation, error) + GetClientRepresentation func(ctx context.Context, accessToken, realm, clientID string) (*Client, error) + GetClientRole func(ctx context.Context, token, realm, idOfClient, roleName string) (*Role, error) + GetClientRoleByID func(ctx context.Context, accessToken, realm, roleID string) (*Role, error) + GetClientRoles func(ctx context.Context, accessToken, realm, idOfClient string, ...) ([]*Role, error) + GetClientRolesByGroupID func(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + GetClientRolesByUserID func(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + GetClientScope func(ctx context.Context, token, realm, scopeID string) (*ClientScope, error) + GetClientScopeMappings func(ctx context.Context, token, realm, idOfClient string) (*MappingsRepresentation, error) + GetClientScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string) ([]*Role, error) + GetClientScopeMappingsClientRolesAvailable func(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string) ([]*Role, error) + GetClientScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClient string) ([]*Role, error) + GetClientScopeMappingsRealmRolesAvailable func(ctx context.Context, token, realm, idOfClient string) ([]*Role, error) + GetClientScopeProtocolMapper func(ctx context.Context, token, realm, scopeID, protocolMapperID string) (*ProtocolMappers, error) + GetClientScopeProtocolMappers func(ctx context.Context, token, realm, scopeID string) ([]*ProtocolMappers, error) + GetClientScopes func(ctx context.Context, token, realm string) ([]*ClientScope, error) + GetClientScopesScopeMappingsClientRoles func(ctx context.Context, token, realm, idOfClientScope, idOfClient string) ([]*Role, error) + GetClientScopesScopeMappingsClientRolesAvailable func(ctx context.Context, token, realm, idOfClientScope, idOfClient string) ([]*Role, error) + GetClientScopesScopeMappingsRealmRoles func(ctx context.Context, token, realm, idOfClientScope string) ([]*Role, error) + GetClientScopesScopeMappingsRealmRolesAvailable func(ctx context.Context, token, realm, idOfClientScope string) ([]*Role, error) + GetClientSecret func(ctx context.Context, token, realm, idOfClient string) (*CredentialRepresentation, error) + GetClientServiceAccount func(ctx context.Context, token, realm, idOfClient string) (*User, error) + GetClientUserSessions func(ctx context.Context, token, realm, idOfClient string) ([]*UserSessionRepresentation, error) + GetClients func(ctx context.Context, accessToken, realm string, params GetClientsParams) ([]*Client, error) + GetClientsDefaultScopes func(ctx context.Context, token, realm, idOfClient string) ([]*ClientScope, error) + GetClientsOptionalScopes func(ctx context.Context, token, realm, idOfClient string) ([]*ClientScope, error) + GetComponents func(ctx context.Context, accessToken, realm string) ([]*Component, error) + GetComponentsWithParams func(ctx context.Context, token, realm string, params GetComponentsParams) ([]*Component, error) + GetCompositeClientRolesByGroupID func(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + GetCompositeClientRolesByRoleID func(ctx context.Context, token, realm, idOfClient, roleID string) ([]*Role, error) + GetCompositeClientRolesByUserID func(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + GetCompositeRealmRoles func(ctx context.Context, token, realm, roleName string) ([]*Role, error) + GetCompositeRealmRolesByGroupID func(ctx context.Context, token, realm, groupID string) ([]*Role, error) + GetCompositeRealmRolesByRoleID func(ctx context.Context, token, realm, roleID string) ([]*Role, error) + GetCompositeRealmRolesByUserID func(ctx context.Context, token, realm, userID string) ([]*Role, error) + GetConfiguredUserStorageCredentialTypes func(ctx context.Context, token, realm, userID string) ([]string, error) + GetCredentialRegistrators func(ctx context.Context, token, realm string) ([]string, error) + GetCredentials func(ctx context.Context, token, realm, UserID string) ([]*CredentialRepresentation, error) + GetDefaultDefaultClientScopes func(ctx context.Context, token, realm string) ([]*ClientScope, error) + GetDefaultGroups func(ctx context.Context, accessToken, realm string) ([]*Group, error) + GetDefaultOptionalClientScopes func(ctx context.Context, token, realm string) ([]*ClientScope, error) + GetDependentPermissions func(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PermissionRepresentation, error) + GetEvents func(ctx context.Context, token string, realm string, params GetEventsParams) ([]*EventRepresentation, error) + GetGroup func(ctx context.Context, accessToken, realm, groupID string) (*Group, error) + GetGroupMembers func(ctx context.Context, accessToken, realm, groupID string, ...) ([]*User, error) + GetGroups func(ctx context.Context, accessToken, realm string, params GetGroupsParams) ([]*Group, error) + GetGroupsByRole func(ctx context.Context, accessToken, realm string, roleName string) ([]*Group, error) + GetGroupsCount func(ctx context.Context, token, realm string, params GetGroupsParams) (int, error) + GetIdentityProvider func(ctx context.Context, token, realm, alias string) (*IdentityProviderRepresentation, error) + GetIdentityProviderMapperByID func(ctx context.Context, token, realm, alias, mapperID string) (*IdentityProviderMapper, error) + GetIdentityProviderMappers func(ctx context.Context, token, realm, alias string) ([]*IdentityProviderMapper, error) + GetIdentityProviders func(ctx context.Context, token, realm string) ([]*IdentityProviderRepresentation, error) + GetIssuer func(ctx context.Context, realm string) (*IssuerResponse, error) + GetKeyStoreConfig func(ctx context.Context, accessToken, realm string) (*KeyStoreConfig, error) + GetPermission func(ctx context.Context, token, realm, idOfClient, permissionID string) (*PermissionRepresentation, error) + GetPermissionResources func(ctx context.Context, token, realm, idOfClient, permissionID string) ([]*PermissionResource, error) + GetPermissionScopes func(ctx context.Context, token, realm, idOfClient, permissionID string) ([]*PermissionScope, error) + GetPermissions func(ctx context.Context, token, realm, idOfClient string, ...) ([]*PermissionRepresentation, error) + GetPolicies func(ctx context.Context, token, realm, idOfClient string, params GetPolicyParams) ([]*PolicyRepresentation, error) + GetPolicy func(ctx context.Context, token, realm, idOfClient, policyID string) (*PolicyRepresentation, error) + GetRawUserInfo func(ctx context.Context, accessToken, realm string) (map[string]interface{}, error) + GetRealm func(ctx context.Context, token, realm string) (*RealmRepresentation, error) + GetRealmRole func(ctx context.Context, token, realm, roleName string) (*Role, error) + GetRealmRoleByID func(ctx context.Context, token, realm, roleID string) (*Role, error) + GetRealmRoles func(ctx context.Context, accessToken, realm string, params GetRoleParams) ([]*Role, error) + GetRealmRolesByGroupID func(ctx context.Context, accessToken, realm, groupID string) ([]*Role, error) + GetRealmRolesByUserID func(ctx context.Context, accessToken, realm, userID string) ([]*Role, error) + GetRealms func(ctx context.Context, token string) ([]*RealmRepresentation, error) + GetRequestingPartyPermissionDecision func(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*RequestingPartyPermissionDecision, error) + GetRequestingPartyPermissions func(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*[]RequestingPartyPermission, error) + GetRequestingPartyToken func(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*JWT, error) + GetResource func(ctx context.Context, token, realm, idOfClient, resourceID string) (*ResourceRepresentation, error) + GetResourceClient func(ctx context.Context, token, realm, resourceID string) (*ResourceRepresentation, error) + GetResourcePolicies func(ctx context.Context, token, realm string, params GetResourcePoliciesParams) ([]*ResourcePolicyRepresentation, error) + GetResourcePolicy func(ctx context.Context, token, realm, permissionID string) (*ResourcePolicyRepresentation, error) + GetResources func(ctx context.Context, token, realm, idOfClient string, params GetResourceParams) ([]*ResourceRepresentation, error) + GetResourcesClient func(ctx context.Context, token, realm string, params GetResourceParams) ([]*ResourceRepresentation, error) + GetRoleMappingByGroupID func(ctx context.Context, accessToken, realm, groupID string) (*MappingsRepresentation, error) + GetRoleMappingByUserID func(ctx context.Context, accessToken, realm, userID string) (*MappingsRepresentation, error) + GetScope func(ctx context.Context, token, realm, idOfClient, scopeID string) (*ScopeRepresentation, error) + GetScopes func(ctx context.Context, token, realm, idOfClient string, params GetScopeParams) ([]*ScopeRepresentation, error) + GetServerInfo func(ctx context.Context, accessToken string) (*ServerInfoRepesentation, error) + GetToken func(ctx context.Context, realm string, options TokenOptions) (*JWT, error) + GetUserByID func(ctx context.Context, accessToken, realm, userID string) (*User, error) + GetUserCount func(ctx context.Context, accessToken, realm string, params GetUsersParams) (int, error) + GetUserFederatedIdentities func(ctx context.Context, token, realm, userID string) ([]*FederatedIdentityRepresentation, error) + GetUserGroups func(ctx context.Context, accessToken, realm, userID string, params GetGroupsParams) ([]*Group, error) + GetUserInfo func(ctx context.Context, accessToken, realm string) (*UserInfo, error) + GetUserOfflineSessionsForClient func(ctx context.Context, token, realm, userID, idOfClient string) ([]*UserSessionRepresentation, error) + GetUserPermissions func(ctx context.Context, token, realm string, params GetUserPermissionParams) ([]*PermissionGrantResponseRepresentation, error) + GetUserSessions func(ctx context.Context, token, realm, userID string) ([]*UserSessionRepresentation, error) + GetUsers func(ctx context.Context, accessToken, realm string, params GetUsersParams) ([]*User, error) + GetUsersByClientRoleName func(ctx context.Context, token, realm, idOfClient, roleName string, ...) ([]*User, error) + GetUsersByRoleName func(ctx context.Context, token, realm, roleName string) ([]*User, error) + GrantUserPermission func(ctx context.Context, token, realm string, permission PermissionGrantParams) (*PermissionGrantResponseRepresentation, error) + ImportIdentityProviderConfig func(ctx context.Context, token, realm, fromURL, providerID string) (map[string]string, error) + ImportIdentityProviderConfigFromFile func(ctx context.Context, token, realm, providerID, fileName string, ...) (map[string]string, error) + Login func(ctx context.Context, clientID, clientSecret, realm, username, password string) (*JWT, error) + LoginAdmin func(ctx context.Context, username, password, realm string) (*JWT, error) + LoginClient func(ctx context.Context, clientID, clientSecret, realm string) (*JWT, error) + LoginClientSignedJWT func(ctx context.Context, idOfClient, realm string, key interface{}, ...) (*JWT, error) + LoginClientTokenExchange func(ctx context.Context, ...) (*JWT, error) + LoginOtp func(ctx context.Context, ...) (*JWT, error) + Logout func(ctx context.Context, clientID, clientSecret, realm, refreshToken string) error + LogoutAllSessions func(ctx context.Context, accessToken, realm, userID string) error + LogoutPublicClient func(ctx context.Context, idOfClient, realm, accessToken, refreshToken string) error + LogoutUserSession func(ctx context.Context, accessToken, realm, session string) error + MoveCredentialBehind func(ctx context.Context, ...) error + MoveCredentialToFirst func(ctx context.Context, token, realm, userID, credentialID string) error + RefreshToken func(ctx context.Context, refreshToken, clientID, clientSecret, realm string) (*JWT, error) + RegenerateClientSecret func(ctx context.Context, token, realm, idOfClient string) (*CredentialRepresentation, error) + RemoveDefaultGroup func(ctx context.Context, accessToken, realm, groupID string) error + RemoveDefaultScopeFromClient func(ctx context.Context, token, realm, idOfClient, scopeID string) error + RemoveOptionalScopeFromClient func(ctx context.Context, token, realm, idOfClient, scopeID string) error + RestyClient func() *resty.Client + RetrospectToken func(ctx context.Context, accessToken, clientID, clientSecret, realm string) (*RetrospecTokenResult, error) + RevokeUserConsents func(ctx context.Context, accessToken, realm, userID, clientID string) error + SetPassword func(ctx context.Context, token, userID, realm, password string, temporary bool) error + SetRestyClient func(restyClient *resty.Client) + UpdateAuthenticationExecution func(ctx context.Context, token, realm, flow string, ...) error + UpdateClient func(ctx context.Context, accessToken, realm string, updatedClient Client) error + UpdateClientProtocolMapper func(ctx context.Context, token, realm, idOfClient, mapperID string, ...) error + UpdateClientRepresentation func(ctx context.Context, accessToken, realm string, updatedClient Client) (*Client, error) + UpdateClientScope func(ctx context.Context, accessToken, realm string, scope ClientScope) error + UpdateClientScopeProtocolMapper func(ctx context.Context, accessToken, realm, scopeID string, ...) error + UpdateComponent func(ctx context.Context, token, realm string, component Component) error + UpdateCredentialUserLabel func(ctx context.Context, token, realm, userID, credentialID, userLabel string) error + UpdateGroup func(ctx context.Context, accessToken, realm string, updatedGroup Group) error + UpdateIdentityProvider func(ctx context.Context, token, realm, alias string, ...) error + UpdateIdentityProviderMapper func(ctx context.Context, token, realm, alias string, mapper IdentityProviderMapper) error + UpdatePermission func(ctx context.Context, token, realm, idOfClient string, ...) error + UpdatePolicy func(ctx context.Context, token, realm, idOfClient string, ...) error + UpdateRealm func(ctx context.Context, token string, realm RealmRepresentation) error + UpdateRealmRole func(ctx context.Context, token, realm, roleName string, role Role) error + UpdateRealmRoleByID func(ctx context.Context, token, realm, roleID string, role Role) error + UpdateRequiredAction func(ctx context.Context, token string, realm string, ...) error + UpdateResource func(ctx context.Context, token, realm, idOfClient string, ...) error + UpdateResourceClient func(ctx context.Context, token, realm string, resource ResourceRepresentation) error + UpdateResourcePolicy func(ctx context.Context, token, realm, permissionID string, ...) error + UpdateRole func(ctx context.Context, accessToken, realm, idOfClient string, role Role) error + UpdateScope func(ctx context.Context, token, realm, idOfClient string, ...) error + UpdateUser func(ctx context.Context, accessToken, realm string, user User) error + UpdateUserPermission func(ctx context.Context, token, realm string, permission PermissionGrantParams) (*PermissionGrantResponseRepresentation, error) + func NewClient(basePath string, options ...func(*gocloak)) GoCloak + type Group struct + Access *map[string]bool + Attributes *map[string][]string + ClientRoles *map[string][]string + ID *string + Name *string + Path *string + RealmRoles *[]string + SubGroups *[]Group + func (v *Group) String() string + type GroupDefinition struct + ExtendChildren *bool + ID *string + Path *string + func (v *GroupDefinition) String() string + type GroupPolicyRepresentation struct + Groups *[]GroupDefinition + GroupsClaim *string + func (v *GroupPolicyRepresentation) String() string + type GroupsCount struct + Count int + func (v *GroupsCount) String() string + type HTTPErrorResponse struct + Description string + Error string + Message string + func (e HTTPErrorResponse) NotEmpty() bool + func (e HTTPErrorResponse) String() string + type IdentityProviderMapper struct + Config *map[string]string + ID *string + IdentityProviderAlias *string + IdentityProviderMapper *string + Name *string + type IdentityProviderRepresentation struct + AddReadTokenRoleOnCreate *bool + Alias *string + Config *map[string]string + DisplayName *string + Enabled *bool + FirstBrokerLoginFlowAlias *string + InternalID *string + LinkOnly *bool + PostBrokerLoginFlowAlias *string + ProviderID *string + StoreToken *bool + TrustEmail *bool + func (v *IdentityProviderRepresentation) String() string + type IssuerResponse struct + AccountService *string + PublicKey *string + Realm *string + TokenService *string + TokensNotBefore *int + func (v *IssuerResponse) String() string + type JSPolicyRepresentation struct + Code *string + func (v *JSPolicyRepresentation) String() string + type JWT struct + AccessToken string + ExpiresIn int + IDToken string + NotBeforePolicy int + RefreshExpiresIn int + RefreshToken string + Scope string + SessionState string + TokenType string + type Key struct + Algorithm *string + Certificate *string + Kid *string + ProviderID *string + ProviderPriority *int + PublicKey *string + Status *string + Type *string + func (v *Key) String() string + type KeyStoreConfig struct + ActiveKeys *ActiveKeys + Key *[]Key + func (v *KeyStoreConfig) String() string + type Logic string + func LogicP(value Logic) *Logic + type MappingsRepresentation struct + ClientMappings map[string]*ClientMappingsRepresentation + RealmMappings *[]Role + func (v *MappingsRepresentation) String() string + type MemoryInfoRepresentation struct + Free *int + FreeFormated *string + FreePercentage *int + Total *int + TotalFormated *string + Used *int + UsedFormated *string + func (v *MemoryInfoRepresentation) String() string + type ModifyAuthenticationExecutionRepresentation struct + Alias *string + AuthenticationConfig *string + AuthenticationFlow *bool + Configurable *bool + Description *string + DisplayName *string + FlowID *string + ID *string + Index *int + Level *int + ProviderID *string + Requirement *string + RequirementChoices *[]string + type MultiValuedHashMap struct + Empty *bool + LoadFactor *float32 + Threshold *int32 + func (v *MultiValuedHashMap) String() string + type PasswordPolicy struct + ConfigType string + DefaultValue string + DisplayName string + ID string + MultipleSupported bool + type PermissionGrantParams struct + Granted *bool + RequesterID *string + ResourceID *string + ScopeName *string + TicketID *string + func (v *PermissionGrantParams) String() string + type PermissionGrantResponseRepresentation struct + Granted *bool + ID *string + Owner *string + RequesterID *string + ResourceID *string + Scope *string + func (v *PermissionGrantResponseRepresentation) String() string + type PermissionRepresentation struct + DecisionStrategy *DecisionStrategy + Description *string + ID *string + Logic *Logic + Name *string + Policies *[]string + ResourceType *string + Resources *[]string + Scopes *[]string + Type *string + func (v *PermissionRepresentation) String() string + type PermissionResource struct + ResourceID *string + ResourceName *string + func (v *PermissionResource) String() string + type PermissionScope struct + ScopeID *string + ScopeName *string + func (v *PermissionScope) String() string + type PermissionTicketDescriptionRepresentation struct + Access *AccessRepresentation + CreatedTimeStamp *int64 + DisableCredentialTypes *[]string + Email *string + EmailVerified *bool + Enabled *bool + FirstName *string + ID *string + LastName *string + NotBefore *int64 + RequiredActions *[]string + TOTP *bool + UserName *string + func (v *PermissionTicketDescriptionRepresentation) String() string + type PermissionTicketPermissionRepresentation struct + RSID *string + Scopes *[]string + func (v *PermissionTicketPermissionRepresentation) String() string + type PermissionTicketRepresentation struct + AZP *string + Claims *map[string][]string + Permissions *[]PermissionTicketPermissionRepresentation + func (v *PermissionTicketRepresentation) String() string + type PermissionTicketResponseRepresentation struct + Ticket *string + func (v *PermissionTicketResponseRepresentation) String() string + type PolicyEnforcementMode string + func PolicyEnforcementModeP(value PolicyEnforcementMode) *PolicyEnforcementMode + type PolicyRepresentation struct + Config *map[string]string + DecisionStrategy *DecisionStrategy + Description *string + ID *string + Logic *Logic + Name *string + Owner *string + Policies *[]string + Resources *[]string + Scopes *[]string + Type *string + func (v *PolicyRepresentation) String() string + type PolicyResourceRepresentation struct + ID *string + Name *string + type PolicyScopeRepresentation struct + ID *string + Name *string + type ProtocolMapperRepresentation struct + Config *map[string]string + ConsentRequired *bool + ID *string + Name *string + Protocol *string + ProtocolMapper *string + func (v *ProtocolMapperRepresentation) String() string + type ProtocolMapperType struct + Category string + HelpText string + ID string + Name string + Priority int + Properties []ProtocolMapperTypeProperty + type ProtocolMapperTypeProperty struct + DefaultValue EnforcedString + HelpText string + Label string + Name string + Options []string + ReadOnly bool + Secret bool + Type string + type ProtocolMapperTypes struct + DockerV2 []ProtocolMapperType + OpenIDConnect []ProtocolMapperType + SAML []ProtocolMapperType + type ProtocolMappers struct + ConsentRequired *bool + ID *string + Name *string + Protocol *string + ProtocolMapper *string + ProtocolMappersConfig *ProtocolMappersConfig + func (v *ProtocolMappers) String() string + type ProtocolMappersConfig struct + AccessTokenClaim *string + ClaimName *string + ClaimValue *string + FullPath *string + IDTokenClaim *string + IncludedClientAudience *string + JSONTypeLabel *string + Multivalued *string + UserAttribute *string + UserinfoTokenClaim *string + UsermodelClientRoleMappingClientID *string + func (v *ProtocolMappersConfig) String() string + type RealmRepresentation struct + AccessCodeLifespan *int + AccessCodeLifespanLogin *int + AccessCodeLifespanUserAction *int + AccessTokenLifespan *int + AccessTokenLifespanForImplicitFlow *int + AccountTheme *string + ActionTokenGeneratedByAdminLifespan *int + ActionTokenGeneratedByUserLifespan *int + AdminEventsDetailsEnabled *bool + AdminEventsEnabled *bool + AdminTheme *string + Attributes *map[string]string + AuthenticationFlows *[]interface{} + AuthenticatorConfig *[]interface{} + BrowserFlow *string + BrowserSecurityHeaders *map[string]string + BruteForceProtected *bool + ClientAuthenticationFlow *string + ClientScopeMappings *map[string]string + ClientScopes *[]ClientScope + Clients *[]Client + Components interface{} + DefaultDefaultClientScopes *[]string + DefaultGroups *[]string + DefaultLocale *string + DefaultOptionalClientScopes *[]string + DefaultRole *Role + DefaultRoles *[]string + DefaultSignatureAlgorithm *string + DirectGrantFlow *string + DisplayName *string + DisplayNameHTML *string + DockerAuthenticationFlow *string + DuplicateEmailsAllowed *bool + EditUsernameAllowed *bool + EmailTheme *string + Enabled *bool + EnabledEventTypes *[]string + EventsEnabled *bool + EventsExpiration *int64 + EventsListeners *[]string + FailureFactor *int + FederatedUsers *[]interface{} + Groups *[]interface{} + ID *string + IdentityProviderMappers *[]interface{} + IdentityProviders *[]interface{} + InternationalizationEnabled *bool + KeycloakVersion *string + LoginTheme *string + LoginWithEmailAllowed *bool + MaxDeltaTimeSeconds *int + MaxFailureWaitSeconds *int + MinimumQuickLoginWaitSeconds *int + NotBefore *int + OfflineSessionIdleTimeout *int + OfflineSessionMaxLifespan *int + OfflineSessionMaxLifespanEnabled *bool + OtpPolicyAlgorithm *string + OtpPolicyDigits *int + OtpPolicyInitialCounter *int + OtpPolicyLookAheadWindow *int + OtpPolicyPeriod *int + OtpPolicyType *string + OtpSupportedApplications *[]string + PasswordPolicy *string + PermanentLockout *bool + ProtocolMappers *[]interface{} + QuickLoginCheckMilliSeconds *int64 + Realm *string + RefreshTokenMaxReuse *int + RegistrationAllowed *bool + RegistrationEmailAsUsername *bool + RegistrationFlow *string + RememberMe *bool + RequiredActions *[]interface{} + ResetCredentialsFlow *string + ResetPasswordAllowed *bool + RevokeRefreshToken *bool + Roles *RolesRepresentation + SMTPServer *map[string]string + ScopeMappings *[]interface{} + SslRequired *string + SsoSessionIdleTimeout *int + SsoSessionIdleTimeoutRememberMe *int + SsoSessionMaxLifespan *int + SsoSessionMaxLifespanRememberMe *int + SupportedLocales *[]string + UserFederationMappers *[]interface{} + UserFederationProviders *[]interface{} + UserManagedAccessAllowed *bool + Users *[]User + VerifyEmail *bool + WaitIncrementSeconds *int + func (v *RealmRepresentation) String() string + type RequestingPartyPermission struct + Claims *map[string]string + ResourceID *string + ResourceName *string + Scopes *[]string + func (v *RequestingPartyPermission) String() string + type RequestingPartyPermissionDecision struct + Result *bool + type RequestingPartyTokenOptions struct + Audience *string + ClaimToken *string + ClaimTokenFormat *string + GrantType *string + Permissions *[]string + RPT *string + ResponseIncludeResourceName *bool + ResponseMode *string + ResponsePermissionsLimit *uint32 + SubjectToken *string + SubmitRequest *bool + Ticket *string + func (t *RequestingPartyTokenOptions) FormData() map[string]string + func (t *RequestingPartyTokenOptions) String() string + type RequiredActionProviderRepresentation struct + Alias *string + Config *map[string]string + DefaultAction *bool + Enabled *bool + Name *string + Priority *int32 + ProviderID *string + func (v *RequiredActionProviderRepresentation) String() string + type ResourceOwnerRepresentation struct + ID *string + Name *string + func (v *ResourceOwnerRepresentation) String() string + type ResourcePermission struct + RSID *string + RSName *string + ResourceID *string + ResourceScopes *[]string + Scopes *[]string + func (v *ResourcePermission) String() string + type ResourcePolicyRepresentation struct + Clients *[]string + DecisionStrategy *DecisionStrategy + Description *string + Groups *[]string + ID *string + Logic *Logic + Name *string + Owner *string + Roles *[]string + Scopes *[]string + Type *string + Users *[]string + func (v *ResourcePolicyRepresentation) String() string + type ResourceRepresentation struct + Attributes *map[string][]string + DisplayName *string + ID *string + IconURI *string + Name *string + Owner *ResourceOwnerRepresentation + OwnerManagedAccess *bool + ResourceScopes *[]ScopeRepresentation + Scopes *[]ScopeRepresentation + Type *string + URIs *[]string + func (v *ResourceRepresentation) String() string + type ResourceServerRepresentation struct + AllowRemoteResourceManagement *bool + ClientID *string + DecisionStrategy *DecisionStrategy + ID *string + Name *string + Policies *[]PolicyRepresentation + PolicyEnforcementMode *PolicyEnforcementMode + Resources *[]ResourceRepresentation + Scopes *[]ScopeRepresentation + func (v *ResourceServerRepresentation) String() string + type RetrospecTokenResult struct + Active *bool + Aud *StringOrArray + AuthTime *int + Exp *int + Iat *int + Jti *string + Nbf *int + Permissions *[]ResourcePermission + Type *string + func (v *RetrospecTokenResult) String() string + type Role struct + Attributes *map[string][]string + ClientRole *bool + Composite *bool + Composites *CompositesRepresentation + ContainerID *string + Description *string + ID *string + Name *string + ScopeParamRequired *bool + func (v *Role) String() string + type RoleDefinition struct + ID *string + Private *bool + Required *bool + func (v *RoleDefinition) String() string + type RolePolicyRepresentation struct + Roles *[]RoleDefinition + func (v *RolePolicyRepresentation) String() string + type RolesRepresentation struct + Client *map[string][]Role + Realm *[]Role + func (v *RolesRepresentation) String() string + type ScopeRepresentation struct + DisplayName *string + ID *string + IconURI *string + Name *string + Policies *[]PolicyRepresentation + Resources *[]ResourceRepresentation + func (v *ScopeRepresentation) String() string + type ServerInfoRepesentation struct + BuiltinProtocolMappers *BuiltinProtocolMappers + MemoryInfo *MemoryInfoRepresentation + PasswordPolicies []*PasswordPolicy + ProtocolMapperTypes *ProtocolMapperTypes + SystemInfo *SystemInfoRepresentation + func (v *ServerInfoRepesentation) String() string + type SetPasswordRequest struct + Password *string + Temporary *bool + Type *string + func (v *SetPasswordRequest) String() string + type StringOrArray []string + func (s *StringOrArray) MarshalJSON() ([]byte, error) + func (s *StringOrArray) UnmarshalJSON(data []byte) error + type SystemInfoRepresentation struct + FileEncoding *string + JavaHome *string + JavaRuntime *string + JavaVM *string + JavaVMVersion *string + JavaVendor *string + JavaVersion *string + OSArchitecture *string + OSName *string + OSVersion *string + ServerTime *string + Uptime *string + UptimeMillis *int + UserDir *string + UserLocale *string + UserName *string + UserTimezone *string + Version *string + func (v *SystemInfoRepresentation) String() string + type TimePolicyRepresentation struct + DayMonth *string + DayMonthEnd *string + Hour *string + HourEnd *string + Minute *string + MinuteEnd *string + Month *string + MonthEnd *string + NotBefore *string + NotOnOrAfter *string + Year *string + YearEnd *string + func (v *TimePolicyRepresentation) String() string + type TokenOptions struct + Audience *string + ClientAssertion *string + ClientAssertionType *string + ClientID *string + ClientSecret *string + Code *string + GrantType *string + Password *string + Permission *string + RedirectURI *string + RefreshToken *string + RequestedSubject *string + RequestedTokenType *string + ResponseType *string + ResponseTypes *[]string + Scope *string + Scopes *[]string + SubjectToken *string + Totp *string + Username *string + func (t *TokenOptions) FormData() map[string]string + func (t *TokenOptions) String() string + type User struct + Access *map[string]bool + Attributes *map[string][]string + ClientRoles *map[string][]string + CreatedTimestamp *int64 + Credentials *[]CredentialRepresentation + DisableableCredentialTypes *[]interface{} + Email *string + EmailVerified *bool + Enabled *bool + FederationLink *string + FirstName *string + Groups *[]string + ID *string + LastName *string + RealmRoles *[]string + RequiredActions *[]string + ServiceAccountClientID *string + Totp *bool + Username *string + func (v *User) String() string + type UserGroup struct + ID *string + Name *string + Path *string + func (v *UserGroup) String() string + type UserInfo struct + Address *UserInfoAddress + Email *string + EmailVerified *bool + FamilyName *string + Gender *string + GivenName *string + Locale *string + MiddleName *string + Name *string + Nickname *string + PhoneNumber *string + PhoneNumberVerified *bool + Picture *string + PreferredUsername *string + Profile *string + Sub *string + UpdatedAt *int + Website *string + ZoneInfo *string + func (v *UserInfo) String() string + type UserInfoAddress struct + Country *string + Formatted *string + Locality *string + PostalCode *string + Region *string + StreetAddress *string + func (v *UserInfoAddress) String() string + type UserPolicyRepresentation struct + Users *[]string + func (v *UserPolicyRepresentation) String() string + type UserSessionRepresentation struct + Clients *map[string]string + ID *string + IPAddress *string + LastAccess *int64 + Start *int64 + UserID *string + Username *string + func (v *UserSessionRepresentation) String() string Other modules containing this package github.com/Tolyar/gocloak