Versions in this module Expand all Collapse all v13 v13.9.2 May 13, 2024 v13.9.1 May 13, 2024 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(g *GoCloak) + func SetAuthRealms(url string) func(g *GoCloak) + func SetCertCacheInvalidationTime(duration time.Duration) func(g *GoCloak) + func SetLegacyWildFlySupport() func(g *GoCloak) + func SetLogoutEndpoint(url string) func(g *GoCloak) + func SetOpenIDConnectEndpoint(url string) func(g *GoCloak) + func SetRevokeEndpoint(url string) func(g *GoCloak) + func SetTokenEndpoint(url string) func(g *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 AdminEventRespresentation struct + AuthDetails *AuthDetails + OperationType *string + RealmID *string + Representation *string + ResoucePath *string + ResourceType *string + Time int64 + type AggregatedPolicyRepresentation struct + Policies *[]string + func (v *AggregatedPolicyRepresentation) String() string + type Attributes struct + LDAPENTRYDN *[]string + LDAPID *[]string + func (v *Attributes) String() string + type AuthDetails struct + ClientID *string + IPAddress *string + RealmID *string + UserID *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 AuthorizationParameters struct + ClientID *string + IDTokenHint *string + Nonce *string + RedirectURI *string + ResponseType *string + Scope *string + State *string + func (p *AuthorizationParameters) FormData() map[string]string + type AuthorizationResponse struct + type BruteForceStatus struct + Disabled *bool + LastFailure *int + LastIPFailure *string + NumFailures *int + func (v *BruteForceStatus) String() string + 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]int + 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 GetAdminEventsParams struct + Client *string + DateFrom *string + DateTo *string + IPAddress *string + OperationTypes []*string + Realm *string + ResourcePath *string + ResourceTypes []*string + User *string + type GetClientUserSessionsParams struct + First *int + Max *int + func (v *GetClientUserSessionsParams) 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 + Exact *bool + First *int + Full *bool + Max *int + Q *string + 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 struct + Config struct{ ... } + func NewClient(basePath string, options ...func(*GoCloak)) *GoCloak + func (g *GoCloak) AddClientRoleComposite(ctx context.Context, token, realm, roleID string, roles []Role) error + func (g *GoCloak) AddClientRoleToGroup(ctx context.Context, token, realm, idOfClient, groupID string, roles []Role) error + func (g *GoCloak) AddClientRoleToUser(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + func (g *GoCloak) AddClientRolesToGroup(ctx context.Context, token, realm, idOfClient, groupID string, roles []Role) error + func (g *GoCloak) AddClientRolesToUser(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + func (g *GoCloak) AddDefaultGroup(ctx context.Context, token, realm, groupID string) error + func (g *GoCloak) AddDefaultScopeToClient(ctx context.Context, token, realm, idOfClient, scopeID string) error + func (g *GoCloak) AddOptionalScopeToClient(ctx context.Context, token, realm, idOfClient, scopeID string) error + func (g *GoCloak) AddRealmRoleComposite(ctx context.Context, token, realm, roleName string, roles []Role) error + func (g *GoCloak) AddRealmRoleToGroup(ctx context.Context, token, realm, groupID string, roles []Role) error + func (g *GoCloak) AddRealmRoleToUser(ctx context.Context, token, realm, userID string, roles []Role) error + func (g *GoCloak) AddUserToGroup(ctx context.Context, token, realm, userID, groupID string) error + func (g *GoCloak) ClearKeysCache(ctx context.Context, token, realm string) error + func (g *GoCloak) ClearRealmCache(ctx context.Context, token, realm string) error + func (g *GoCloak) ClearUserCache(ctx context.Context, token, realm string) error + func (g *GoCloak) CreateAuthenticationExecution(ctx context.Context, token, realm, flow string, ...) error + func (g *GoCloak) CreateAuthenticationExecutionFlow(ctx context.Context, token, realm, flow string, ...) error + func (g *GoCloak) CreateAuthenticationFlow(ctx context.Context, token, realm string, ...) error + func (g *GoCloak) CreateChildGroup(ctx context.Context, token, realm, groupID string, group Group) (string, error) + func (g *GoCloak) CreateClient(ctx context.Context, accessToken, realm string, newClient Client) (string, error) + func (g *GoCloak) CreateClientProtocolMapper(ctx context.Context, token, realm, idOfClient string, ...) (string, error) + func (g *GoCloak) CreateClientRepresentation(ctx context.Context, token, realm string, newClient Client) (*Client, error) + func (g *GoCloak) CreateClientRole(ctx context.Context, token, realm, idOfClient string, role Role) (string, error) + func (g *GoCloak) CreateClientScope(ctx context.Context, token, realm string, scope ClientScope) (string, error) + func (g *GoCloak) CreateClientScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string, ...) error + func (g *GoCloak) CreateClientScopeMappingsRealmRoles(ctx context.Context, token, realm, idOfClient string, roles []Role) error + func (g *GoCloak) CreateClientScopeProtocolMapper(ctx context.Context, token, realm, scopeID string, ...) (string, error) + func (g *GoCloak) CreateClientScopesScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClientScope, idOfClient string, ...) error + func (g *GoCloak) CreateClientScopesScopeMappingsRealmRoles(ctx context.Context, token, realm, clientScopeID string, roles []Role) error + func (g *GoCloak) CreateComponent(ctx context.Context, token, realm string, component Component) (string, error) + func (g *GoCloak) CreateGroup(ctx context.Context, token, realm string, group Group) (string, error) + func (g *GoCloak) CreateIdentityProvider(ctx context.Context, token string, realm string, ...) (string, error) + func (g *GoCloak) CreateIdentityProviderMapper(ctx context.Context, token, realm, alias string, mapper IdentityProviderMapper) (string, error) + func (g *GoCloak) CreatePermission(ctx context.Context, token, realm, idOfClient string, ...) (*PermissionRepresentation, error) + func (g *GoCloak) CreatePermissionTicket(ctx context.Context, token, realm string, ...) (*PermissionTicketResponseRepresentation, error) + func (g *GoCloak) CreatePolicy(ctx context.Context, token, realm, idOfClient string, ...) (*PolicyRepresentation, error) + func (g *GoCloak) CreateRealm(ctx context.Context, token string, realm RealmRepresentation) (string, error) + func (g *GoCloak) CreateRealmRole(ctx context.Context, token string, realm string, role Role) (string, error) + func (g *GoCloak) CreateResource(ctx context.Context, token, realm string, idOfClient string, ...) (*ResourceRepresentation, error) + func (g *GoCloak) CreateResourceClient(ctx context.Context, token, realm string, resource ResourceRepresentation) (*ResourceRepresentation, error) + func (g *GoCloak) CreateResourcePolicy(ctx context.Context, token, realm, resourceID string, ...) (*ResourcePolicyRepresentation, error) + func (g *GoCloak) CreateScope(ctx context.Context, token, realm, idOfClient string, ...) (*ScopeRepresentation, error) + func (g *GoCloak) CreateUser(ctx context.Context, token, realm string, user User) (string, error) + func (g *GoCloak) CreateUserFederatedIdentity(ctx context.Context, token, realm, userID, providerID string, ...) error + func (g *GoCloak) DecodeAccessToken(ctx context.Context, accessToken, realm string) (*jwt.Token, *jwt.MapClaims, error) + func (g *GoCloak) DecodeAccessTokenCustomClaims(ctx context.Context, accessToken, realm string, claims jwt.Claims) (*jwt.Token, error) + func (g *GoCloak) DeleteAuthenticationExecution(ctx context.Context, token, realm, executionID string) error + func (g *GoCloak) DeleteAuthenticationFlow(ctx context.Context, token, realm, flowID string) error + func (g *GoCloak) DeleteClient(ctx context.Context, token, realm, idOfClient string) error + func (g *GoCloak) DeleteClientProtocolMapper(ctx context.Context, token, realm, idOfClient, mapperID string) error + func (g *GoCloak) DeleteClientRepresentation(ctx context.Context, accessToken, realm, clientID string) error + func (g *GoCloak) DeleteClientRole(ctx context.Context, token, realm, idOfClient, roleName string) error + func (g *GoCloak) DeleteClientRoleComposite(ctx context.Context, token, realm, roleID string, roles []Role) error + func (g *GoCloak) DeleteClientRoleFromGroup(ctx context.Context, token, realm, idOfClient, groupID string, roles []Role) error + func (g *GoCloak) DeleteClientRoleFromUser(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + func (g *GoCloak) DeleteClientRolesFromUser(ctx context.Context, token, realm, idOfClient, userID string, roles []Role) error + func (g *GoCloak) DeleteClientScope(ctx context.Context, token, realm, scopeID string) error + func (g *GoCloak) DeleteClientScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string, ...) error + func (g *GoCloak) DeleteClientScopeMappingsRealmRoles(ctx context.Context, token, realm, idOfClient string, roles []Role) error + func (g *GoCloak) DeleteClientScopeProtocolMapper(ctx context.Context, token, realm, scopeID, protocolMapperID string) error + func (g *GoCloak) DeleteClientScopesScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClientScope, idOfClient string, ...) error + func (g *GoCloak) DeleteClientScopesScopeMappingsRealmRoles(ctx context.Context, token, realm, clientScopeID string, roles []Role) error + func (g *GoCloak) DeleteComponent(ctx context.Context, token, realm, componentID string) error + func (g *GoCloak) DeleteCredentials(ctx context.Context, token, realm, userID, credentialID string) error + func (g *GoCloak) DeleteGroup(ctx context.Context, token, realm, groupID string) error + func (g *GoCloak) DeleteIdentityProvider(ctx context.Context, token, realm, alias string) error + func (g *GoCloak) DeleteIdentityProviderMapper(ctx context.Context, token, realm, alias, mapperID string) error + func (g *GoCloak) DeletePermission(ctx context.Context, token, realm, idOfClient, permissionID string) error + func (g *GoCloak) DeletePolicy(ctx context.Context, token, realm, idOfClient, policyID string) error + func (g *GoCloak) DeleteRealm(ctx context.Context, token, realm string) error + func (g *GoCloak) DeleteRealmRole(ctx context.Context, token, realm, roleName string) error + func (g *GoCloak) DeleteRealmRoleComposite(ctx context.Context, token, realm, roleName string, roles []Role) error + func (g *GoCloak) DeleteRealmRoleFromGroup(ctx context.Context, token, realm, groupID string, roles []Role) error + func (g *GoCloak) DeleteRealmRoleFromUser(ctx context.Context, token, realm, userID string, roles []Role) error + func (g *GoCloak) DeleteRequiredAction(ctx context.Context, token string, realm string, alias string) error + func (g *GoCloak) DeleteResource(ctx context.Context, token, realm, idOfClient, resourceID string) error + func (g *GoCloak) DeleteResourceClient(ctx context.Context, token, realm, resourceID string) error + func (g *GoCloak) DeleteResourcePolicy(ctx context.Context, token, realm, permissionID string) error + func (g *GoCloak) DeleteScope(ctx context.Context, token, realm, idOfClient, scopeID string) error + func (g *GoCloak) DeleteUser(ctx context.Context, token, realm, userID string) error + func (g *GoCloak) DeleteUserFederatedIdentity(ctx context.Context, token, realm, userID, providerID string) error + func (g *GoCloak) DeleteUserFromGroup(ctx context.Context, token, realm, userID, groupID string) error + func (g *GoCloak) DeleteUserPermission(ctx context.Context, token, realm, ticketID string) error + func (g *GoCloak) DisableAllCredentialsByType(ctx context.Context, token, realm, userID string, types []string) error + func (g *GoCloak) ExecuteActionsEmail(ctx context.Context, token, realm string, params ExecuteActionsEmail) error + func (g *GoCloak) ExportIDPPublicBrokerConfig(ctx context.Context, token, realm, alias string) (*string, error) + func (g *GoCloak) GetAdapterConfiguration(ctx context.Context, accessToken, realm, clientID string) (*AdapterConfiguration, error) + func (g *GoCloak) GetAdminEvents(ctx context.Context, token string, realm string, params GetAdminEventsParams) ([]*AdminEventRespresentation, error) + func (g *GoCloak) GetAuthenticationExecutions(ctx context.Context, token, realm, flow string) ([]*ModifyAuthenticationExecutionRepresentation, error) + func (g *GoCloak) GetAuthenticationFlow(ctx context.Context, token, realm string, authenticationFlowID string) (*AuthenticationFlowRepresentation, error) + func (g *GoCloak) GetAuthenticationFlows(ctx context.Context, token, realm string) ([]*AuthenticationFlowRepresentation, error) + func (g *GoCloak) GetAuthorizationPolicyAssociatedPolicies(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyRepresentation, error) + func (g *GoCloak) GetAuthorizationPolicyResources(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyResourceRepresentation, error) + func (g *GoCloak) GetAuthorizationPolicyScopes(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PolicyScopeRepresentation, error) + func (g *GoCloak) GetAvailableClientRolesByGroupID(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + func (g *GoCloak) GetAvailableClientRolesByUserID(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + func (g *GoCloak) GetAvailableRealmRolesByGroupID(ctx context.Context, token, realm, groupID string) ([]*Role, error) + func (g *GoCloak) GetAvailableRealmRolesByUserID(ctx context.Context, token, realm, userID string) ([]*Role, error) + func (g *GoCloak) GetCerts(ctx context.Context, realm string) (*CertResponse, error) + func (g *GoCloak) GetClient(ctx context.Context, token, realm, idOfClient string) (*Client, error) + func (g *GoCloak) GetClientManagementPermissions(ctx context.Context, token, realm string, idOfClient string) (*ManagementPermissionRepresentation, error) + func (g *GoCloak) GetClientOfflineSessions(ctx context.Context, token, realm, idOfClient string, ...) ([]*UserSessionRepresentation, error) + func (g *GoCloak) GetClientRepresentation(ctx context.Context, accessToken, realm, clientID string) (*Client, error) + func (g *GoCloak) GetClientRole(ctx context.Context, token, realm, idOfClient, roleName string) (*Role, error) + func (g *GoCloak) GetClientRoleByID(ctx context.Context, token, realm, roleID string) (*Role, error) + func (g *GoCloak) GetClientRoles(ctx context.Context, token, realm, idOfClient string, params GetRoleParams) ([]*Role, error) + func (g *GoCloak) GetClientRolesByGroupID(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + func (g *GoCloak) GetClientRolesByUserID(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + func (g *GoCloak) GetClientScope(ctx context.Context, token, realm, scopeID string) (*ClientScope, error) + func (g *GoCloak) GetClientScopeMappings(ctx context.Context, token, realm, idOfClient string) (*MappingsRepresentation, error) + func (g *GoCloak) GetClientScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopeMappingsClientRolesAvailable(ctx context.Context, token, realm, idOfClient, idOfSelectedClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopeMappingsRealmRoles(ctx context.Context, token, realm, idOfClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopeMappingsRealmRolesAvailable(ctx context.Context, token, realm, idOfClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopeProtocolMapper(ctx context.Context, token, realm, scopeID, protocolMapperID string) (*ProtocolMappers, error) + func (g *GoCloak) GetClientScopeProtocolMappers(ctx context.Context, token, realm, scopeID string) ([]*ProtocolMappers, error) + func (g *GoCloak) GetClientScopes(ctx context.Context, token, realm string) ([]*ClientScope, error) + func (g *GoCloak) GetClientScopesScopeMappingsClientRoles(ctx context.Context, token, realm, idOfClientScope, idOfClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopesScopeMappingsClientRolesAvailable(ctx context.Context, token, realm, idOfClientScope, idOfClient string) ([]*Role, error) + func (g *GoCloak) GetClientScopesScopeMappingsRealmRoles(ctx context.Context, token, realm, clientScopeID string) ([]*Role, error) + func (g *GoCloak) GetClientScopesScopeMappingsRealmRolesAvailable(ctx context.Context, token, realm, clientScopeID string) ([]*Role, error) + func (g *GoCloak) GetClientSecret(ctx context.Context, token, realm, idOfClient string) (*CredentialRepresentation, error) + func (g *GoCloak) GetClientServiceAccount(ctx context.Context, token, realm, idOfClient string) (*User, error) + func (g *GoCloak) GetClientUserSessions(ctx context.Context, token, realm, idOfClient string, ...) ([]*UserSessionRepresentation, error) + func (g *GoCloak) GetClients(ctx context.Context, token, realm string, params GetClientsParams) ([]*Client, error) + func (g *GoCloak) GetClientsDefaultScopes(ctx context.Context, token, realm, idOfClient string) ([]*ClientScope, error) + func (g *GoCloak) GetClientsOptionalScopes(ctx context.Context, token, realm, idOfClient string) ([]*ClientScope, error) + func (g *GoCloak) GetComponent(ctx context.Context, token, realm string, componentID string) (*Component, error) + func (g *GoCloak) GetComponents(ctx context.Context, token, realm string) ([]*Component, error) + func (g *GoCloak) GetComponentsWithParams(ctx context.Context, token, realm string, params GetComponentsParams) ([]*Component, error) + func (g *GoCloak) GetCompositeClientRolesByGroupID(ctx context.Context, token, realm, idOfClient, groupID string) ([]*Role, error) + func (g *GoCloak) GetCompositeClientRolesByRoleID(ctx context.Context, token, realm, idOfClient, roleID string) ([]*Role, error) + func (g *GoCloak) GetCompositeClientRolesByUserID(ctx context.Context, token, realm, idOfClient, userID string) ([]*Role, error) + func (g *GoCloak) GetCompositeRealmRoles(ctx context.Context, token, realm, roleName string) ([]*Role, error) + func (g *GoCloak) GetCompositeRealmRolesByGroupID(ctx context.Context, token, realm, groupID string) ([]*Role, error) + func (g *GoCloak) GetCompositeRealmRolesByRoleID(ctx context.Context, token, realm, roleID string) ([]*Role, error) + func (g *GoCloak) GetCompositeRealmRolesByUserID(ctx context.Context, token, realm, userID string) ([]*Role, error) + func (g *GoCloak) GetCompositeRolesByRoleID(ctx context.Context, token, realm, roleID string) ([]*Role, error) + func (g *GoCloak) GetConfiguredUserStorageCredentialTypes(ctx context.Context, token, realm, userID string) ([]string, error) + func (g *GoCloak) GetCredentialRegistrators(ctx context.Context, token, realm string) ([]string, error) + func (g *GoCloak) GetCredentials(ctx context.Context, token, realm, userID string) ([]*CredentialRepresentation, error) + func (g *GoCloak) GetDefaultDefaultClientScopes(ctx context.Context, token, realm string) ([]*ClientScope, error) + func (g *GoCloak) GetDefaultGroups(ctx context.Context, token, realm string) ([]*Group, error) + func (g *GoCloak) GetDefaultOptionalClientScopes(ctx context.Context, token, realm string) ([]*ClientScope, error) + func (g *GoCloak) GetDependentPermissions(ctx context.Context, token, realm, idOfClient, policyID string) ([]*PermissionRepresentation, error) + func (g *GoCloak) GetEvents(ctx context.Context, token string, realm string, params GetEventsParams) ([]*EventRepresentation, error) + func (g *GoCloak) GetGroup(ctx context.Context, token, realm, groupID string) (*Group, error) + func (g *GoCloak) GetGroupByPath(ctx context.Context, token, realm, groupPath string) (*Group, error) + func (g *GoCloak) GetGroupManagementPermissions(ctx context.Context, token, realm string, idOfGroup string) (*ManagementPermissionRepresentation, error) + func (g *GoCloak) GetGroupMembers(ctx context.Context, token, realm, groupID string, params GetGroupsParams) ([]*User, error) + func (g *GoCloak) GetGroups(ctx context.Context, token, realm string, params GetGroupsParams) ([]*Group, error) + func (g *GoCloak) GetGroupsByClientRole(ctx context.Context, token, realm string, roleName string, clientID string) ([]*Group, error) + func (g *GoCloak) GetGroupsByRole(ctx context.Context, token, realm string, roleName string) ([]*Group, error) + func (g *GoCloak) GetGroupsCount(ctx context.Context, token, realm string, params GetGroupsParams) (int, error) + func (g *GoCloak) GetIdentityProvider(ctx context.Context, token, realm, alias string) (*IdentityProviderRepresentation, error) + func (g *GoCloak) GetIdentityProviderMapper(ctx context.Context, token string, realm string, alias string, mapperID string) (*IdentityProviderMapper, error) + func (g *GoCloak) GetIdentityProviderMapperByID(ctx context.Context, token, realm, alias, mapperID string) (*IdentityProviderMapper, error) + func (g *GoCloak) GetIdentityProviderMappers(ctx context.Context, token, realm, alias string) ([]*IdentityProviderMapper, error) + func (g *GoCloak) GetIdentityProviders(ctx context.Context, token, realm string) ([]*IdentityProviderRepresentation, error) + func (g *GoCloak) GetIssuer(ctx context.Context, realm string) (*IssuerResponse, error) + func (g *GoCloak) GetKeyStoreConfig(ctx context.Context, token, realm string) (*KeyStoreConfig, error) + func (g *GoCloak) GetPermission(ctx context.Context, token, realm, idOfClient, permissionID string) (*PermissionRepresentation, error) + func (g *GoCloak) GetPermissionResources(ctx context.Context, token, realm, idOfClient, permissionID string) ([]*PermissionResource, error) + func (g *GoCloak) GetPermissionScope(ctx context.Context, token, realm, idOfClient string, idOfScope string) (*PolicyRepresentation, error) + func (g *GoCloak) GetPermissionScopes(ctx context.Context, token, realm, idOfClient, permissionID string) ([]*PermissionScope, error) + func (g *GoCloak) GetPermissions(ctx context.Context, token, realm, idOfClient string, ...) ([]*PermissionRepresentation, error) + func (g *GoCloak) GetPolicies(ctx context.Context, token, realm, idOfClient string, params GetPolicyParams) ([]*PolicyRepresentation, error) + func (g *GoCloak) GetPolicy(ctx context.Context, token, realm, idOfClient, policyID string) (*PolicyRepresentation, error) + func (g *GoCloak) GetRawUserInfo(ctx context.Context, accessToken, realm string) (map[string]interface{}, error) + func (g *GoCloak) GetRealm(ctx context.Context, token, realm string) (*RealmRepresentation, error) + func (g *GoCloak) GetRealmRole(ctx context.Context, token, realm, roleName string) (*Role, error) + func (g *GoCloak) GetRealmRoleByID(ctx context.Context, token, realm, roleID string) (*Role, error) + func (g *GoCloak) GetRealmRoles(ctx context.Context, token, realm string, params GetRoleParams) ([]*Role, error) + func (g *GoCloak) GetRealmRolesByGroupID(ctx context.Context, token, realm, groupID string) ([]*Role, error) + func (g *GoCloak) GetRealmRolesByUserID(ctx context.Context, token, realm, userID string) ([]*Role, error) + func (g *GoCloak) GetRealms(ctx context.Context, token string) ([]*RealmRepresentation, error) + func (g *GoCloak) GetRequest(ctx context.Context) *resty.Request + func (g *GoCloak) GetRequestWithBasicAuth(ctx context.Context, clientID, clientSecret string) *resty.Request + func (g *GoCloak) GetRequestWithBearerAuth(ctx context.Context, token string) *resty.Request + func (g *GoCloak) GetRequestWithBearerAuthNoCache(ctx context.Context, token string) *resty.Request + func (g *GoCloak) GetRequestWithBearerAuthXMLHeader(ctx context.Context, token string) *resty.Request + func (g *GoCloak) GetRequestingPartyPermissionDecision(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*RequestingPartyPermissionDecision, error) + func (g *GoCloak) GetRequestingPartyPermissions(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*[]RequestingPartyPermission, error) + func (g *GoCloak) GetRequestingPartyToken(ctx context.Context, token, realm string, options RequestingPartyTokenOptions) (*JWT, error) + func (g *GoCloak) GetRequiredAction(ctx context.Context, token string, realm string, alias string) (*RequiredActionProviderRepresentation, error) + func (g *GoCloak) GetRequiredActions(ctx context.Context, token string, realm string) ([]*RequiredActionProviderRepresentation, error) + func (g *GoCloak) GetResource(ctx context.Context, token, realm, idOfClient, resourceID string) (*ResourceRepresentation, error) + func (g *GoCloak) GetResourceClient(ctx context.Context, token, realm, resourceID string) (*ResourceRepresentation, error) + func (g *GoCloak) GetResourcePolicies(ctx context.Context, token, realm string, params GetResourcePoliciesParams) ([]*ResourcePolicyRepresentation, error) + func (g *GoCloak) GetResourcePolicy(ctx context.Context, token, realm, permissionID string) (*ResourcePolicyRepresentation, error) + func (g *GoCloak) GetResourceServer(ctx context.Context, token, realm, idOfClient string) (*ResourceServerRepresentation, error) + func (g *GoCloak) GetResources(ctx context.Context, token, realm, idOfClient string, params GetResourceParams) ([]*ResourceRepresentation, error) + func (g *GoCloak) GetResourcesClient(ctx context.Context, token, realm string, params GetResourceParams) ([]*ResourceRepresentation, error) + func (g *GoCloak) GetRoleMappingByGroupID(ctx context.Context, token, realm, groupID string) (*MappingsRepresentation, error) + func (g *GoCloak) GetRoleMappingByUserID(ctx context.Context, token, realm, userID string) (*MappingsRepresentation, error) + func (g *GoCloak) GetScope(ctx context.Context, token, realm, idOfClient, scopeID string) (*ScopeRepresentation, error) + func (g *GoCloak) GetScopes(ctx context.Context, token, realm, idOfClient string, params GetScopeParams) ([]*ScopeRepresentation, error) + func (g *GoCloak) GetServerInfo(ctx context.Context, accessToken string) (*ServerInfoRepresentation, error) + func (g *GoCloak) GetToken(ctx context.Context, realm string, options TokenOptions) (*JWT, error) + func (g *GoCloak) GetUserBruteForceDetectionStatus(ctx context.Context, accessToken, realm, userID string) (*BruteForceStatus, error) + func (g *GoCloak) GetUserByID(ctx context.Context, accessToken, realm, userID string) (*User, error) + func (g *GoCloak) GetUserCount(ctx context.Context, token string, realm string, params GetUsersParams) (int, error) + func (g *GoCloak) GetUserFederatedIdentities(ctx context.Context, token, realm, userID string) ([]*FederatedIdentityRepresentation, error) + func (g *GoCloak) GetUserGroups(ctx context.Context, token, realm, userID string, params GetGroupsParams) ([]*Group, error) + func (g *GoCloak) GetUserInfo(ctx context.Context, accessToken, realm string) (*UserInfo, error) + func (g *GoCloak) GetUserOfflineSessionsForClient(ctx context.Context, token, realm, userID, idOfClient string) ([]*UserSessionRepresentation, error) + func (g *GoCloak) GetUserPermissions(ctx context.Context, token, realm string, params GetUserPermissionParams) ([]*PermissionGrantResponseRepresentation, error) + func (g *GoCloak) GetUserSessions(ctx context.Context, token, realm, userID string) ([]*UserSessionRepresentation, error) + func (g *GoCloak) GetUsers(ctx context.Context, token, realm string, params GetUsersParams) ([]*User, error) + func (g *GoCloak) GetUsersByClientRoleName(ctx context.Context, token, realm, idOfClient, roleName string, ...) ([]*User, error) + func (g *GoCloak) GetUsersByRoleName(ctx context.Context, token, realm, roleName string, ...) ([]*User, error) + func (g *GoCloak) GetUsersManagementPermissions(ctx context.Context, accessToken, realm string) (*ManagementPermissionRepresentation, error) + func (g *GoCloak) GrantUserPermission(ctx context.Context, token, realm string, permission PermissionGrantParams) (*PermissionGrantResponseRepresentation, error) + func (g *GoCloak) ImportIdentityProviderConfig(ctx context.Context, token, realm, fromURL, providerID string) (map[string]string, error) + func (g *GoCloak) ImportIdentityProviderConfigFromFile(ctx context.Context, token, realm, providerID, fileName string, ...) (map[string]string, error) + func (g *GoCloak) Login(ctx context.Context, clientID, clientSecret, realm, username, password string) (*JWT, error) + func (g *GoCloak) LoginAdmin(ctx context.Context, username, password, realm string) (*JWT, error) + func (g *GoCloak) LoginClient(ctx context.Context, clientID, clientSecret, realm string, scopes ...string) (*JWT, error) + func (g *GoCloak) LoginClientSignedJWT(ctx context.Context, clientID, realm string, key interface{}, ...) (*JWT, error) + func (g *GoCloak) LoginClientTokenExchange(ctx context.Context, ...) (*JWT, error) + func (g *GoCloak) LoginOtp(ctx context.Context, ...) (*JWT, error) + func (g *GoCloak) Logout(ctx context.Context, clientID, clientSecret, realm, refreshToken string) error + func (g *GoCloak) LogoutAllSessions(ctx context.Context, accessToken, realm, userID string) error + func (g *GoCloak) LogoutPublicClient(ctx context.Context, clientID, realm, accessToken, refreshToken string) error + func (g *GoCloak) LogoutUserSession(ctx context.Context, accessToken, realm, session string) error + func (g *GoCloak) MoveCredentialBehind(ctx context.Context, ...) error + func (g *GoCloak) MoveCredentialToFirst(ctx context.Context, token, realm, userID, credentialID string) error + func (g *GoCloak) RefreshToken(ctx context.Context, refreshToken, clientID, clientSecret, realm string) (*JWT, error) + func (g *GoCloak) RegenerateClientSecret(ctx context.Context, token, realm, idOfClient string) (*CredentialRepresentation, error) + func (g *GoCloak) RegisterRequiredAction(ctx context.Context, token string, realm string, ...) error + func (g *GoCloak) RemoveDefaultGroup(ctx context.Context, token, realm, groupID string) error + func (g *GoCloak) RemoveDefaultScopeFromClient(ctx context.Context, token, realm, idOfClient, scopeID string) error + func (g *GoCloak) RemoveOptionalScopeFromClient(ctx context.Context, token, realm, idOfClient, scopeID string) error + func (g *GoCloak) RestyClient() *resty.Client + func (g *GoCloak) RetrospectToken(ctx context.Context, accessToken, clientID, clientSecret, realm string) (*IntroSpectTokenResult, error) + func (g *GoCloak) RevokeToken(ctx context.Context, realm, clientID, clientSecret, refreshToken string) error + func (g *GoCloak) RevokeUserConsents(ctx context.Context, accessToken, realm, userID, clientID string) error + func (g *GoCloak) SendVerifyEmail(ctx context.Context, token, userID, realm string, ...) error + func (g *GoCloak) SetPassword(ctx context.Context, token, userID, realm, password string, temporary bool) error + func (g *GoCloak) SetRestyClient(restyClient *resty.Client) + func (g *GoCloak) UpdateAuthenticationExecution(ctx context.Context, token, realm, flow string, ...) error + func (g *GoCloak) UpdateAuthenticationFlow(ctx context.Context, token, realm string, ...) (*AuthenticationFlowRepresentation, error) + func (g *GoCloak) UpdateClient(ctx context.Context, token, realm string, updatedClient Client) error + func (g *GoCloak) UpdateClientManagementPermissions(ctx context.Context, accessToken, realm string, idOfClient string, ...) (*ManagementPermissionRepresentation, error) + func (g *GoCloak) UpdateClientProtocolMapper(ctx context.Context, token, realm, idOfClient, mapperID string, ...) error + func (g *GoCloak) UpdateClientRepresentation(ctx context.Context, accessToken, realm string, updatedClient Client) (*Client, error) + func (g *GoCloak) UpdateClientScope(ctx context.Context, token, realm string, scope ClientScope) error + func (g *GoCloak) UpdateClientScopeProtocolMapper(ctx context.Context, token, realm, scopeID string, ...) error + func (g *GoCloak) UpdateComponent(ctx context.Context, token, realm string, component Component) error + func (g *GoCloak) UpdateCredentialUserLabel(ctx context.Context, token, realm, userID, credentialID, userLabel string) error + func (g *GoCloak) UpdateGroup(ctx context.Context, token, realm string, updatedGroup Group) error + func (g *GoCloak) UpdateGroupManagementPermissions(ctx context.Context, accessToken, realm string, idOfGroup string, ...) (*ManagementPermissionRepresentation, error) + func (g *GoCloak) UpdateIdentityProvider(ctx context.Context, token, realm, alias string, ...) error + func (g *GoCloak) UpdateIdentityProviderMapper(ctx context.Context, token, realm, alias string, mapper IdentityProviderMapper) error + func (g *GoCloak) UpdatePermission(ctx context.Context, token, realm, idOfClient string, ...) error + func (g *GoCloak) UpdatePermissionScope(ctx context.Context, token, realm, idOfClient string, idOfScope string, ...) error + func (g *GoCloak) UpdatePolicy(ctx context.Context, token, realm, idOfClient string, ...) error + func (g *GoCloak) UpdateRealm(ctx context.Context, token string, realm RealmRepresentation) error + func (g *GoCloak) UpdateRealmRole(ctx context.Context, token, realm, roleName string, role Role) error + func (g *GoCloak) UpdateRealmRoleByID(ctx context.Context, token, realm, roleID string, role Role) error + func (g *GoCloak) UpdateRequiredAction(ctx context.Context, token string, realm string, ...) error + func (g *GoCloak) UpdateResource(ctx context.Context, token, realm, idOfClient string, ...) error + func (g *GoCloak) UpdateResourceClient(ctx context.Context, token, realm string, resource ResourceRepresentation) error + func (g *GoCloak) UpdateResourcePolicy(ctx context.Context, token, realm, permissionID string, ...) error + func (g *GoCloak) UpdateRole(ctx context.Context, token, realm, idOfClient string, role Role) error + func (g *GoCloak) UpdateScope(ctx context.Context, token, realm, idOfClient string, ...) error + func (g *GoCloak) UpdateUser(ctx context.Context, token, realm string, user User) error + func (g *GoCloak) UpdateUserPermission(ctx context.Context, token, realm string, permission PermissionGrantParams) (*PermissionGrantResponseRepresentation, error) + func (g *GoCloak) UpdateUsersManagementPermissions(ctx context.Context, accessToken, realm string, ...) (*ManagementPermissionRepresentation, error) + 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 IntroSpectTokenResult struct + Active *bool + Aud *StringOrArray + AuthTime *int + Exp *int + Iat *int + Jti *string + Nbf *int + Permissions *[]ResourcePermission + Type *string + func (v *IntroSpectTokenResult) 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 ManagementPermissionRepresentation struct + Enabled *bool + Resource *string + ScopePermissions *map[string]string + 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 + AggregateAttrs *string + AttributeName *string + AttributeNameFormat *string + ClaimName *string + ClaimValue *string + FullPath *string + IDTokenClaim *string + IncludedClientAudience *string + JSONTypeLabel *string + Multivalued *string + Script *string + Single *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 + ClientPolicies *map[string][]interface{} + ClientProfiles *map[string][]interface{} + ClientScopeMappings *map[string][]interface{} + 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 + WebAuthnPolicyAcceptableAaguids *[]string + WebAuthnPolicyAttestationConveyancePreference *string + WebAuthnPolicyAuthenticatorAttachment *string + WebAuthnPolicyAvoidSameAuthenticatorRegister *bool + WebAuthnPolicyCreateTimeout *int + WebAuthnPolicyPasswordlessAcceptableAaguids *[]string + WebAuthnPolicyPasswordlessAttestationConveyancePreference *string + WebAuthnPolicyPasswordlessAuthenticatorAttachment *string + WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister *bool + WebAuthnPolicyPasswordlessCreateTimeout *int + WebAuthnPolicyPasswordlessRequireResidentKey *string + WebAuthnPolicyPasswordlessRpEntityName *string + WebAuthnPolicyPasswordlessRpID *string + WebAuthnPolicyPasswordlessSignatureAlgorithms *[]string + WebAuthnPolicyPasswordlessUserVerificationRequirement *string + WebAuthnPolicyRequireResidentKey *string + WebAuthnPolicyRpEntityName *string + WebAuthnPolicyRpID *string + WebAuthnPolicySignatureAlgorithms *[]string + WebAuthnPolicyUserVerificationRequirement *string + 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 + PermissionResourceFormat *string + PermissionResourceMatchingURI *bool + 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 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 SendVerificationMailParams struct + ClientID *string + RedirectURI *string + type ServerInfoRepresentation struct + BuiltinProtocolMappers *BuiltinProtocolMappers + MemoryInfo *MemoryInfoRepresentation + PasswordPolicies []*PasswordPolicy + ProtocolMapperTypes *ProtocolMapperTypes + SystemInfo *SystemInfoRepresentation + Themes *Themes + func (v *ServerInfoRepresentation) 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 ThemeRepresentation struct + Locales []string + Name string + type Themes struct + Accounts []ThemeRepresentation + Admin []ThemeRepresentation + Common []ThemeRepresentation + Email []ThemeRepresentation + Login []ThemeRepresentation + Welcome []ThemeRepresentation + 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