Documentation
¶
Index ¶
- func ErrorIs404(err error) bool
- func ErrorIs409(err error) bool
- func GetDurationStringFromMilliseconds(milliseconds string) (string, error)
- type ApiError
- type AuthenticationBindings
- type AuthenticationExecution
- type AuthenticationExecutionConfig
- type AuthenticationExecutionInfo
- type AuthenticationExecutionList
- type AuthenticationFlow
- type AuthenticationSubFlow
- type BrowserSecurityHeaders
- type ClientCredentials
- type ClientRoleMapping
- type Component
- type ComponentType
- type CustomUserFederation
- type DefaultClientScope
- type DefaultClientScopes
- type DefaultRoles
- type FederatedIdentities
- type FederatedIdentity
- type GenericClient
- type GenericClientProtocolMapper
- type GenericClientRepresentation
- type Group
- type IdentityProvider
- type IdentityProviderConfig
- type IdentityProviderMapper
- type IdentityProviderPermissions
- type IdentityProviderPermissionsInput
- type Key
- type KeycloakBoolQuoted
- type KeycloakClient
- func (keycloakClient *KeycloakClient) AddClientRolesToGroup(realmId, groupId, clientId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) AddClientRolesToUser(realmId, userId, clientId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) AddCompositesToRole(role *Role, compositeRoles []*Role) error
- func (keycloakClient *KeycloakClient) AddDefaultDefaultClientScope(realmId string, dcs DefaultClientScope) error
- func (keycloakClient *KeycloakClient) AddOptionalDefaultClientScope(realmId string, dcs DefaultClientScope) error
- func (keycloakClient *KeycloakClient) AddRealmRolesToGroup(realmId, groupId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) AddRealmRolesToUser(realmId, userId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) AddUserToGroups(groupIds []string, userId string, realmId string) error
- func (keycloakClient *KeycloakClient) AddUsersToGroup(realmId, groupId string, users []interface{}) error
- func (keycloakClient *KeycloakClient) AttachOpenidClientDefaultScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) AttachOpenidClientOptionalScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) AttachSamlClientDefaultScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) CreateComponent(realm string, component Component) error
- func (keycloakClient *KeycloakClient) CreateRequiredAction(requiredAction *RequiredAction) error
- func (keycloakClient *KeycloakClient) CreateRole(role *Role) error
- func (keycloakClient *KeycloakClient) CreateRoleScopeMapping(realmId string, clientId string, clientScopeId string, role *Role) error
- func (keycloakClient *KeycloakClient) DeleteAuthenticationExecution(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
- func (keycloakClient *KeycloakClient) DeleteAuthenticationFlow(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteAuthenticationSubFlow(realmId, parentFlowAlias, id string) error
- func (keycloakClient *KeycloakClient) DeleteBuiltInFlowExecutors(flow *AuthenticationFlow) error
- func (keycloakClient *KeycloakClient) DeleteComponent(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteCustomUserFederation(realmName, id string) error
- func (keycloakClient *KeycloakClient) DeleteDefaultDefaultClientScope(realmId string, id string) error
- func (keycloakClient *KeycloakClient) DeleteDefaultGroup(realmName, groupId string) error
- func (keycloakClient *KeycloakClient) DeleteGenericClientProtocolMapper(realmId string, clientId string, clientScopeId string, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteGroup(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteIdentityProvider(realm, alias string) error
- func (keycloakClient *KeycloakClient) DeleteIdentityProviderMapper(realm, idpAlias, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapFullNameMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapGroupMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapHardcodedGroupMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapHardcodedRoleMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapMsadLdsUserAccountControlMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapMsadUserAccountControlMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapRoleMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapUserAttributeMapper(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapUserFederation(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteLdapUserFederationMappers(realmId, ldapUserFederationId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdAudienceProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdFullNameProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdGroupMembershipProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdHardcodedClaimProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdHardcodedRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdUserClientRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdUserRealmRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenIdUserSessionNoteProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClient(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationAggregatePolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationClientPolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationGroupPolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationJSPolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationPermission(realmId, resourceServerId, permissionId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationResource(realmId, clientId, resourceId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationRolePolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationScope(realmId, resourceServerId, scopeId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationTimePolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationUserPolicy(realmId, resourceServerId, policyId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientScope(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientServiceAccountRealmRole(realm, serviceAccountUserId, roleId string) error
- func (keycloakClient *KeycloakClient) DeleteOpenidClientServiceAccountRole(realm, serviceAccountUserId, clientId, roleId string) error
- func (keycloakClient *KeycloakClient) DeleteOptionalDefaultClientScope(realmId string, id string) error
- func (keycloakClient *KeycloakClient) DeleteRealm(name string) error
- func (keycloakClient *KeycloakClient) DeleteRequiredAction(realmName string, alias string) error
- func (keycloakClient *KeycloakClient) DeleteRole(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteRoleScopeMapping(realmId string, clientId string, clientScopeId string, role *Role) error
- func (keycloakClient *KeycloakClient) DeleteSamlClient(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteSamlClientScope(realmId, id string) error
- func (keycloakClient *KeycloakClient) DeleteSamlScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteSamlUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteSamlUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
- func (keycloakClient *KeycloakClient) DeleteUser(realmId, id string) error
- func (keycloakClient *KeycloakClient) DetachOpenidClientDefaultScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) DetachOpenidClientOptionalScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) DetachSamlClientDefaultScopes(realmId, clientId string, scopeNames []string) error
- func (keycloakClient *KeycloakClient) DisableIdentityProviderPermissions(realmId, providerAlias string) error
- func (keycloakClient *KeycloakClient) DisableOpenidClientPermissions(realmId, clientId string) error
- func (keycloakClient *KeycloakClient) DisableUsersPermissions(realmId string) error
- func (keycloakClient *KeycloakClient) EnableIdentityProviderPermissions(realmId, providerAlias string) error
- func (keycloakClient *KeycloakClient) EnableOpenidClientPermissions(realmId, clientId string) error
- func (keycloakClient *KeycloakClient) EnableUsersPermissions(realmId string) error
- func (keycloakClient *KeycloakClient) GetAuthenticationBindings(realmId string) (*AuthenticationBindings, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationExecution(realmId, parentFlowAlias, id string) (*AuthenticationExecution, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
- func (keycloakClient *KeycloakClient) GetAuthenticationExecutionInfoFromProviderId(realmId, parentFlowAlias, providerId string) (*AuthenticationExecutionInfo, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationFlow(realmId, id string) (*AuthenticationFlow, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationFlowFromAlias(realmId, alias string) (*AuthenticationFlow, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationSubFlow(realmId, parentFlowAlias, id string) (*AuthenticationSubFlow, error)
- func (keycloakClient *KeycloakClient) GetAuthenticationSubFlowByAlias(realmId, parentFlowAlias, subFlowAlias string) (*AuthenticationSubFlow, error)
- func (keycloakClient *KeycloakClient) GetClientAuthorizationPolicyByName(realmId, resourceServerId, name string) (*OpenidClientAuthorizationPolicy, error)
- func (keycloakClient *KeycloakClient) GetClientRoleUsers(realmId string, roles []*Role) (*[]UsersInRole, error)
- func (keycloakClient *KeycloakClient) GetClientRoles(realmId string, clients []*OpenidClient) ([]*Role, error)
- func (keycloakClient *KeycloakClient) GetComponent(realm, id string) (*Component, error)
- func (keycloakClient *KeycloakClient) GetComponents(realm, parent, providerType string) ([]Component, error)
- func (keycloakClient *KeycloakClient) GetCustomUserFederation(realmName, id string) (*CustomUserFederation, error)
- func (keycloakClient *KeycloakClient) GetCustomUserFederations(realmName, realmId string) (*[]CustomUserFederation, error)
- func (keycloakClient *KeycloakClient) GetDefaultGroups(realmName string) ([]Group, error)
- func (keycloakClient *KeycloakClient) GetDefaultRoles(realmId string) (*DefaultRoles, error)
- func (keycloakClient *KeycloakClient) GetGenericClient(realmId, id string) (*GenericClient, error)
- func (keycloakClient *KeycloakClient) GetGenericClientByClientId(realmId, clientId string) (*GenericClient, error)
- func (keycloakClient *KeycloakClient) GetGenericClientProtocolMapper(realmId string, clientId string, clientScopeId string, mapperId string) (*GenericClientProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetGenericClientProtocolMapperByName(realmId, clientId, clientScopeId, mapperName string) (*GenericClientProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetGenericClientProtocolMappers(realmId string, clientId string) (*OpenidClientWithGenericClientProtocolMappers, error)
- func (keycloakClient *KeycloakClient) GetGenericClientProtocolMappersByParent(realmId, clientId, clientScopeId string) ([]GenericClientProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetGroup(realmId, id string) (*Group, error)
- func (keycloakClient *KeycloakClient) GetGroupByName(realmId, name string) (*Group, error)
- func (keycloakClient *KeycloakClient) GetGroupMembers(realmId, groupId string) ([]*User, error)
- func (keycloakClient *KeycloakClient) GetGroupRoleMappings(realmId string, userId string) (*RoleMapping, error)
- func (keycloakClient *KeycloakClient) GetGroups(realmId string) ([]*Group, error)
- func (keycloakClient *KeycloakClient) GetIdentityProvider(realm, alias string) (*IdentityProvider, error)
- func (keycloakClient *KeycloakClient) GetIdentityProviderMapper(realm, idpAlias, id string) (*IdentityProviderMapper, error)
- func (keycloakClient *KeycloakClient) GetIdentityProviderPermissions(realmId, providerAlias string) (*IdentityProviderPermissions, error)
- func (keycloakClient *KeycloakClient) GetLdapFullNameMapper(realmId, id string) (*LdapFullNameMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapGroupMapper(realmId, id string) (*LdapGroupMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapHardcodedGroupMapper(realmId, id string) (*LdapHardcodedGroupMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapHardcodedRoleMapper(realmId, id string) (*LdapHardcodedRoleMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapMsadLdsUserAccountControlMapper(realmId, id string) (*LdapMsadLdsUserAccountControlMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapMsadUserAccountControlMapper(realmId, id string) (*LdapMsadUserAccountControlMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapRoleMapper(realmId, id string) (*LdapRoleMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapUserAttributeMapper(realmId, id string) (*LdapUserAttributeMapper, error)
- func (keycloakClient *KeycloakClient) GetLdapUserFederation(realmId, id string) (*LdapUserFederation, error)
- func (keycloakClient *KeycloakClient) GetLdapUserFederationMappers(realmId, id string) (*[]interface{}, error)
- func (keycloakClient *KeycloakClient) GetOpenIdAudienceProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdAudienceProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdClientScopeByName(realmId, scopeName string) (*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetOpenIdFullNameProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdFullNameProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdGroupMembershipProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdGroupMembershipProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdHardcodedClaimProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdHardcodedClaimProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdHardcodedRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdHardcodedRoleProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdScriptProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserAttributeProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdUserClientRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserClientRoleProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserPropertyProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdUserRealmRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserRealmRoleProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenIdUserSessionNoteProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserSessionNoteProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetOpenidClient(realmId, id string) (*OpenidClient, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationAggregatePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationAggregatePolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationClientPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationClientPolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationGroupPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationGroupPolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationJSPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationJSPolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationPermission(realm, resourceServerId, id string) (*OpenidClientAuthorizationPermission, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationResource(realm, resourceServerId, resourceId string) (*OpenidClientAuthorizationResource, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationResourceByName(realmId, resourceServerId, name string) (*OpenidClientAuthorizationResource, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationRolePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationRolePolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationScope(realm, resourceServerId, scopeId string) (*OpenidClientAuthorizationScope, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationTimePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationTimePolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationUserPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationUserPolicy, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientByClientId(realmId, clientId string) (*OpenidClient, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientDefaultScopes(realmId, clientId string) ([]*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientOptionalScopes(realmId, clientId string) ([]*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientPermissions(realmId, clientId string) (*OpenidClientPermissions, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientScope(realmId, id string) (*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountClientRoles(realm, serviceAccountUserId, clientId string) ([]*OpenidClientServiceAccountRole, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRealmRole(realm, serviceAccountUserId, roleId string) (*OpenidClientServiceAccountRealmRole, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRealmRoles(realm, serviceAccountUserId string) ([]*OpenidClientServiceAccountRole, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRole(realm, serviceAccountUserId, clientId, roleId string) (*OpenidClientServiceAccountRole, error)
- func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountUserId(realmId, clientId string) (*User, error)
- func (keycloakClient *KeycloakClient) GetOpenidClients(realmId string, withSecrets bool) ([]*OpenidClient, error)
- func (keycloakClient *KeycloakClient) GetOpenidDefaultClientScopes(realmId, clientId string) (*[]OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetOpenidOptionalClientScopes(realmId, clientId string) (*[]OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetRealm(name string) (*Realm, error)
- func (keycloakClient *KeycloakClient) GetRealmDefaultClientScopes(realmId string) ([]*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetRealmEventsConfig(realmId string) (*RealmEventsConfig, error)
- func (keycloakClient *KeycloakClient) GetRealmKeys(name string) (*Keys, error)
- func (keycloakClient *KeycloakClient) GetRealmOptionalClientScopes(realmId string) ([]*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) GetRealmRoles(realmId string) ([]*Role, error)
- func (keycloakClient *KeycloakClient) GetRealms() ([]*Realm, error)
- func (keycloakClient *KeycloakClient) GetRequiredAction(realmId string, alias string) (*RequiredAction, error)
- func (keycloakClient *KeycloakClient) GetRequiredActions(realmId string) ([]*RequiredAction, error)
- func (keycloakClient *KeycloakClient) GetRole(realmId, id string) (*Role, error)
- func (keycloakClient *KeycloakClient) GetRoleByName(realmId, clientId, name string) (*Role, error)
- func (keycloakClient *KeycloakClient) GetRoleComposites(role *Role) ([]*Role, error)
- func (keycloakClient *KeycloakClient) GetRoleScopeMapping(realmId string, clientId string, clientScopeId string, role *Role) (*Role, error)
- func (keycloakClient *KeycloakClient) GetSamlClient(realmId, id string) (*SamlClient, error)
- func (keycloakClient *KeycloakClient) GetSamlClientByClientId(realmId, clientId string) (*SamlClient, error)
- func (keycloakClient *KeycloakClient) GetSamlClientDefaultScopes(realmId, clientId string) ([]*SamlClientScope, error)
- func (keycloakClient *KeycloakClient) GetSamlClientInstallationProvider(realmId, id string, providerId string) ([]byte, error)
- func (keycloakClient *KeycloakClient) GetSamlClientScope(realmId, id string) (*SamlClientScope, error)
- func (keycloakClient *KeycloakClient) GetSamlDefaultClientScopes(realmId, clientId string) (*[]SamlClientScope, error)
- func (keycloakClient *KeycloakClient) GetSamlScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlScriptProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetSamlUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlUserAttributeProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetSamlUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlUserPropertyProtocolMapper, error)
- func (keycloakClient *KeycloakClient) GetServerInfo() (*ServerInfo, error)
- func (keycloakClient *KeycloakClient) GetUnregisteredRequiredActions(realmId string) ([]*RequiredAction, error)
- func (keycloakClient *KeycloakClient) GetUser(realmId, id string) (*User, error)
- func (keycloakClient *KeycloakClient) GetUserByUsername(realmId, username string) (*User, error)
- func (keycloakClient *KeycloakClient) GetUserGroups(realmId, userId string) ([]*Group, error)
- func (keycloakClient *KeycloakClient) GetUserRoleMappings(realmId string, userId string) (*RoleMapping, error)
- func (keycloakClient *KeycloakClient) GetUsers(realmId string) ([]*User, error)
- func (keycloakClient *KeycloakClient) GetUsersPermissions(realmId string) (*UsersPermissions, error)
- func (keycloakClient *KeycloakClient) ListAuthenticationExecutions(realmId, parentFlowAlias string) (AuthenticationExecutionList, error)
- func (keycloakClient *KeycloakClient) ListAuthenticationFlows(realmId string) ([]*AuthenticationFlow, error)
- func (keycloakClient *KeycloakClient) ListGroupsWithName(realmId, name string) ([]*Group, error)
- func (keycloakClient *KeycloakClient) ListOpenidClientScopesWithFilter(realmId string, filter OpenidClientScopeFilterFunc) ([]*OpenidClientScope, error)
- func (keycloakClient *KeycloakClient) ListSamlClientScopesWithFilter(realmId string, filter SamlClientScopeFilterFunc) ([]*SamlClientScope, error)
- func (keycloakClient *KeycloakClient) LowerAuthenticationExecutionPriority(realmId, id string) error
- func (keycloakClient *KeycloakClient) LowerAuthenticationSubFlowPriority(realmId, parentFlowAlias, id string) error
- func (keycloakClient *KeycloakClient) NewAuthenticationExecution(execution *AuthenticationExecution) error
- func (keycloakClient *KeycloakClient) NewAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) (string, error)
- func (keycloakClient *KeycloakClient) NewAuthenticationFlow(authenticationFlow *AuthenticationFlow) error
- func (keycloakClient *KeycloakClient) NewAuthenticationSubFlow(authenticationSubFlow *AuthenticationSubFlow) error
- func (keycloakClient *KeycloakClient) NewCustomUserFederation(customUserFederation *CustomUserFederation) error
- func (keycloakClient *KeycloakClient) NewGenericClientDescription(realmId string, body string) (*GenericClientRepresentation, error)
- func (keycloakClient *KeycloakClient) NewGenericClientProtocolMapper(genericClientProtocolMapper *GenericClientProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewGroup(group *Group) error
- func (keycloakClient *KeycloakClient) NewIdentityProvider(identityProvider *IdentityProvider) error
- func (keycloakClient *KeycloakClient) NewIdentityProviderMapper(identityProviderMapper *IdentityProviderMapper) error
- func (keycloakClient *KeycloakClient) NewLdapFullNameMapper(ldapFullNameMapper *LdapFullNameMapper) error
- func (keycloakClient *KeycloakClient) NewLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
- func (keycloakClient *KeycloakClient) NewLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
- func (keycloakClient *KeycloakClient) NewLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
- func (keycloakClient *KeycloakClient) NewLdapMsadLdsUserAccountControlMapper(ldapMsadLdsUserAccountControlMapper *LdapMsadLdsUserAccountControlMapper) error
- func (keycloakClient *KeycloakClient) NewLdapMsadUserAccountControlMapper(ldapMsadUserAccountControlMapper *LdapMsadUserAccountControlMapper) error
- func (keycloakClient *KeycloakClient) NewLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
- func (keycloakClient *KeycloakClient) NewLdapUserAttributeMapper(ldapUserAttributeMapper *LdapUserAttributeMapper) error
- func (keycloakClient *KeycloakClient) NewLdapUserFederation(ldapUserFederation *LdapUserFederation) error
- func (keycloakClient *KeycloakClient) NewOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdUserPropertyProtocolMapper(mapper *OpenIdUserPropertyProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewOpenidClient(client *OpenidClient) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationAggregatePolicy(policy *OpenidClientAuthorizationAggregatePolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationClientPolicy(policy *OpenidClientAuthorizationClientPolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationGroupPolicy(policy *OpenidClientAuthorizationGroupPolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationJSPolicy(policy *OpenidClientAuthorizationJSPolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationPermission(permission *OpenidClientAuthorizationPermission) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationResource(resource *OpenidClientAuthorizationResource) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationRolePolicy(policy *OpenidClientAuthorizationRolePolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationScope(scope *OpenidClientAuthorizationScope) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationTimePolicy(policy *OpenidClientAuthorizationTimePolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationUserPolicy(policy *OpenidClientAuthorizationUserPolicy) error
- func (keycloakClient *KeycloakClient) NewOpenidClientScope(clientScope *OpenidClientScope) error
- func (keycloakClient *KeycloakClient) NewOpenidClientServiceAccountRealmRole(serviceAccountRole *OpenidClientServiceAccountRealmRole) error
- func (keycloakClient *KeycloakClient) NewOpenidClientServiceAccountRole(serviceAccountRole *OpenidClientServiceAccountRole) error
- func (keycloakClient *KeycloakClient) NewRealm(realm *Realm) error
- func (keycloakClient *KeycloakClient) NewSamlClient(client *SamlClient) error
- func (keycloakClient *KeycloakClient) NewSamlClientScope(clientScope *SamlClientScope) error
- func (keycloakClient *KeycloakClient) NewSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
- func (keycloakClient *KeycloakClient) NewUser(user *User) error
- func (keycloakClient *KeycloakClient) PutDefaultGroup(realmName, groupId string) error
- func (keycloakClient *KeycloakClient) RaiseAuthenticationExecutionPriority(realmId, id string) error
- func (keycloakClient *KeycloakClient) RaiseAuthenticationSubFlowPriority(realmId, parentFlowAlias, id string) error
- func (keycloakClient *KeycloakClient) RegisterRequiredAction(requiredAction *RequiredAction) error
- func (keycloakClient *KeycloakClient) RemoveClientRolesFromGroup(realmId, groupId, clientId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) RemoveClientRolesFromUser(realmId, userId, clientId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) RemoveCompositesFromRole(role *Role, compositeRoles []*Role) error
- func (keycloakClient *KeycloakClient) RemoveRealmRolesFromGroup(realmId, groupId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) RemoveRealmRolesFromUser(realmId, userId string, roles []*Role) error
- func (keycloakClient *KeycloakClient) RemoveUserFromGroup(user *User, groupId string) error
- func (keycloakClient *KeycloakClient) RemoveUserFromGroups(groupIds []string, userId string, realmId string) error
- func (keycloakClient *KeycloakClient) RemoveUsersFromGroup(realmId, groupId string, usernames []interface{}) error
- func (keycloakClient *KeycloakClient) ResetUserPassword(realmId, userId string, newPassword string, isTemporary bool) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationBindings(authenticationBindings *AuthenticationBindings) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationExecution(execution *AuthenticationExecution) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationExecutionRequirement(executionRequirementUpdate *authenticationExecutionRequirementUpdate) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationFlow(authenticationFlow *AuthenticationFlow) error
- func (keycloakClient *KeycloakClient) UpdateAuthenticationSubFlow(authenticationSubFlow *AuthenticationSubFlow) error
- func (keycloakClient *KeycloakClient) UpdateComponent(realm string, component Component) error
- func (keycloakClient *KeycloakClient) UpdateCustomUserFederation(customUserFederation *CustomUserFederation) error
- func (keycloakClient *KeycloakClient) UpdateDefaultRoles(defaultRoles *DefaultRoles) error
- func (keycloakClient *KeycloakClient) UpdateGenericClientProtocolMapper(genericClientProtocolMapper *GenericClientProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateGroup(group *Group) error
- func (keycloakClient *KeycloakClient) UpdateIdentityProvider(identityProvider *IdentityProvider) error
- func (keycloakClient *KeycloakClient) UpdateIdentityProviderMapper(identityProviderMapper *IdentityProviderMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapFullNameMapper(ldapFullNameMapper *LdapFullNameMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapMsadLdsUserAccountControlMapper(ldapMsadLdsUserAccountControlMapper *LdapMsadLdsUserAccountControlMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapMsadUserAccountControlMapper(ldapMsadUserAccountControlMapper *LdapMsadUserAccountControlMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapUserAttributeMapper(ldapUserAttributeMapper *LdapUserAttributeMapper) error
- func (keycloakClient *KeycloakClient) UpdateLdapUserFederation(ldapUserFederation *LdapUserFederation) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdUserPropertyProtocolMapper(mapper *OpenIdUserPropertyProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClient(client *OpenidClient) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationAggregatePolicy(policy *OpenidClientAuthorizationAggregatePolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationClientPolicy(policy *OpenidClientAuthorizationClientPolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationGroupPolicy(policy *OpenidClientAuthorizationGroupPolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationJSPolicy(policy *OpenidClientAuthorizationJSPolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationPermission(permission *OpenidClientAuthorizationPermission) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationResource(resource *OpenidClientAuthorizationResource) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationRolePolicy(policy *OpenidClientAuthorizationRolePolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationScope(scope *OpenidClientAuthorizationScope) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationTimePolicy(policy *OpenidClientAuthorizationTimePolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationUserPolicy(policy *OpenidClientAuthorizationUserPolicy) error
- func (keycloakClient *KeycloakClient) UpdateOpenidClientScope(clientScope *OpenidClientScope) error
- func (keycloakClient *KeycloakClient) UpdateRealm(realm *Realm) error
- func (keycloakClient *KeycloakClient) UpdateRealmEventsConfig(realmId string, realmEventsConfig *RealmEventsConfig) error
- func (keycloakClient *KeycloakClient) UpdateRequiredAction(requiredAction *RequiredAction) error
- func (keycloakClient *KeycloakClient) UpdateRole(role *Role) error
- func (keycloakClient *KeycloakClient) UpdateSamlClient(client *SamlClient) error
- func (keycloakClient *KeycloakClient) UpdateSamlClientScope(clientScope *SamlClientScope) error
- func (keycloakClient *KeycloakClient) UpdateSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
- func (keycloakClient *KeycloakClient) UpdateUser(user *User) error
- func (keycloakClient *KeycloakClient) ValidateCustomUserFederation(custom *CustomUserFederation) error
- func (keycloakClient *KeycloakClient) ValidateGroupMembers(usernames []interface{}) error
- func (keycloakClient *KeycloakClient) ValidateLdapFullNameMapper(mapper *LdapFullNameMapper) error
- func (keycloakClient *KeycloakClient) ValidateLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
- func (keycloakClient *KeycloakClient) ValidateLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
- func (keycloakClient *KeycloakClient) ValidateLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
- func (keycloakClient *KeycloakClient) ValidateLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
- func (keycloakClient *KeycloakClient) ValidateLdapUserFederation(ldap *LdapUserFederation) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateOpenidClient(client *OpenidClient) error
- func (keycloakClient *KeycloakClient) ValidateRealm(realm *Realm) error
- func (keycloakClient *KeycloakClient) ValidateRequiredAction(requiredAction *RequiredAction) error
- func (keycloakClient *KeycloakClient) ValidateSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
- func (keycloakClient *KeycloakClient) ValidateSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
- func (keycloakClient *KeycloakClient) VersionIsGreaterThanOrEqualTo(versionString Version) bool
- type Keys
- type LdapFullNameMapper
- type LdapGroupMapper
- type LdapHardcodedGroupMapper
- type LdapHardcodedRoleMapper
- type LdapMsadLdsUserAccountControlMapper
- type LdapMsadUserAccountControlMapper
- type LdapRoleMapper
- type LdapUserAttributeMapper
- type LdapUserFederation
- type OpenIdAudienceProtocolMapper
- type OpenIdFullNameProtocolMapper
- type OpenIdGroupMembershipProtocolMapper
- type OpenIdHardcodedClaimProtocolMapper
- type OpenIdHardcodedRoleProtocolMapper
- type OpenIdScriptProtocolMapper
- type OpenIdUserAttributeProtocolMapper
- type OpenIdUserClientRoleProtocolMapper
- type OpenIdUserPropertyProtocolMapper
- type OpenIdUserRealmRoleProtocolMapper
- type OpenIdUserSessionNoteProtocolMapper
- type OpenidAuthenticationFlowBindingOverrides
- type OpenidClient
- type OpenidClientAttributes
- type OpenidClientAuthorizationAggregatePolicy
- type OpenidClientAuthorizationClientPolicy
- type OpenidClientAuthorizationGroup
- type OpenidClientAuthorizationGroupPolicy
- type OpenidClientAuthorizationJSPolicy
- type OpenidClientAuthorizationPermission
- type OpenidClientAuthorizationPolicy
- type OpenidClientAuthorizationResource
- type OpenidClientAuthorizationRole
- type OpenidClientAuthorizationRolePolicy
- type OpenidClientAuthorizationScope
- type OpenidClientAuthorizationSettings
- type OpenidClientAuthorizationTimePolicy
- type OpenidClientAuthorizationUserPolicy
- type OpenidClientPermissions
- type OpenidClientPermissionsInput
- type OpenidClientRole
- type OpenidClientScope
- type OpenidClientScopeFilterFunc
- type OpenidClientSecret
- type OpenidClientServiceAccountRealmRole
- type OpenidClientServiceAccountRole
- type OpenidClientWithGenericClientProtocolMappers
- type PasswordCredentials
- type Provider
- type ProviderType
- type Realm
- type RealmEventsConfig
- type RequiredAction
- type Role
- type RoleMapping
- type SamlAuthenticationFlowBindingOverrides
- type SamlClient
- type SamlClientAttributes
- type SamlClientScope
- type SamlClientScopeFilterFunc
- type SamlScriptProtocolMapper
- type SamlUserAttributeProtocolMapper
- type SamlUserPropertyProtocolMapper
- type ServerInfo
- type SmtpServer
- type SystemInfo
- type Theme
- type User
- type UsersInRole
- type UsersPermissions
- type UsersPermissionsInput
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorIs404 ¶
func ErrorIs409 ¶
func GetDurationStringFromMilliseconds ¶
Converts a string representing milliseconds from Keycloak API to a duration string used by the provider Ex: "3600000" => "1h0m0s"
Types ¶
type AuthenticationBindings ¶
type AuthenticationBindings struct { RealmId string `json:"-"` BrowserFlowAlias string `json:"browserFlow"` RegistrationFlowAlias string `json:"registrationFlow"` DirectGrantFlowAlias string `json:"directGrantFlow"` ResetCredentialsFlowAlias string `json:"resetCredentialsFlow"` ClientAuthenticationFlowAlias string `json:"clientAuthenticationFlow"` DockerAuthenticationFlowAlias string `json:"dockerAuthenticationFlow"` }
type AuthenticationExecution ¶
type AuthenticationExecution struct { Id string `json:"id"` RealmId string `json:"-"` ParentFlowAlias string `json:"-"` Authenticator string `json:"authenticator"` //can be any authenticator from GET realms/{realm}/authentication/authenticator-providers OR GET realms/{realm}/authentication/client-authenticator-providers OR GET realms/{realm}/authentication/form-action-providers AuthenticationConfig string `json:"authenticationConfig"` AuthenticationFlow bool `json:"authenticationFlow"` FlowId string `json:"flowId"` ParentFlowId string `json:"parentFlow"` Priority int `json:"priority"` Requirement string `json:"requirement"` }
this type is returned by GET /realms/${realmId}/authentication/flows/${flowAlias}/executions
type AuthenticationExecutionConfig ¶
type AuthenticationExecutionConfig struct { RealmId string `json:"-"` ExecutionId string `json:"-"` Id string `json:"id"` Alias string `json:"alias"` Config map[string]string `json:"config"` }
https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_authenticatorconfigrepresentation
type AuthenticationExecutionInfo ¶
type AuthenticationExecutionInfo struct { Id string `json:"id"` RealmId string `json:"-"` ParentFlowAlias string `json:"-"` Alias string `json:"alias"` AuthenticationConfig string `json:"authenticationConfig"` AuthenticationFlow bool `json:"authenticationFlow"` Configurable bool `json:"configurable"` FlowId string `json:"flowId"` Index int `json:"index"` Level int `json:"level"` ProviderId string `json:"providerId"` Requirement string `json:"requirement"` }
another model is used for GET /realms/${realmId}/authentication/executions/${executionId}, but I am going to try to avoid using this API
type AuthenticationExecutionList ¶
type AuthenticationExecutionList []*AuthenticationExecutionInfo
func (AuthenticationExecutionList) Len ¶
func (list AuthenticationExecutionList) Len() int
func (AuthenticationExecutionList) Less ¶
func (list AuthenticationExecutionList) Less(i, j int) bool
func (AuthenticationExecutionList) Swap ¶
func (list AuthenticationExecutionList) Swap(i, j int)
type AuthenticationFlow ¶
type AuthenticationSubFlow ¶
type AuthenticationSubFlow struct { Id string `json:"id,omitempty"` Alias string `json:"alias"` RealmId string `json:"-"` ParentFlowAlias string `json:"-"` ProviderId string `json:"providerId"` // "basic-flow" or "client-flow" or form-flow see /keycloak/server-spi/src/main/java/org/keycloak/models/AuthenticationFlowModel.java TopLevel bool `json:"topLevel"` // should only be false if this is a subflow BuiltIn bool `json:"builtIn"` // this controls whether or not this flow can be edited from the console. Description string `json:"description"` //execution part Authenticator string `json:"-"` //can be any authenticator see /auth/admin/master/console/#/server-info/providers (not limited to the authenticator spi section) for example could also be part of the form-action spi Priority int `json:"-"` Requirement string `json:"-"` }
type BrowserSecurityHeaders ¶
type BrowserSecurityHeaders struct { ContentSecurityPolicy string `json:"contentSecurityPolicy"` ContentSecurityPolicyReportOnly string `json:"contentSecurityPolicyReportOnly"` StrictTransportSecurity string `json:"strictTransportSecurity"` XContentTypeOptions string `json:"xContentTypeOptions"` XFrameOptions string `json:"xFrameOptions"` XRobotsTag string `json:"xRobotsTag"` XXSSProtection string `json:"xXSSProtection"` }
type ClientCredentials ¶
type ClientRoleMapping ¶
type ClientRoleMapping struct { Client string `json:"client"` Id string `json:"id"` Mappings []*Role `json:"mappings"` }
struct for the ClientMappingRepresentation https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_clientmappingsrepresentation
type ComponentType ¶
type ComponentType struct {
Id string `json:"id"`
}
type CustomUserFederation ¶
type DefaultClientScope ¶
type DefaultClientScopes ¶
type DefaultClientScopes struct { Default []DefaultClientScope Optional []DefaultClientScope }
type DefaultRoles ¶ added in v1.0.4
type FederatedIdentities ¶
type FederatedIdentities []*FederatedIdentity
type FederatedIdentity ¶
type GenericClient ¶
type GenericClientProtocolMapper ¶
type GenericClientProtocolMapper struct { ClientId string `json:"-"` ClientScopeId string `json:"-"` Config map[string]string `json:"config"` Id string `json:"id,omitempty"` Name string `json:"name"` Protocol string `json:"protocol"` ProtocolMapper string `json:"protocolMapper"` RealmId string `json:"-"` }
func (*GenericClientProtocolMapper) Validate ¶
func (mapper *GenericClientProtocolMapper) Validate(keycloakClient *KeycloakClient) error
type GenericClientRepresentation ¶
type GenericClientRepresentation struct { Access map[string]string `json:"access"` AdminUrl string `json:"adminUrl"` Attributes map[string]string `json:"attributes"` AuthenticationFlowBindingOverrides map[string]string `json:"authenticationFlowBindingOverrides"` AuthorizationServicesEnabled bool `json:"authorizationServicesEnabled"` AuthorizationSettings map[string]string `json:"authorizationSettings"` BaseUrl string `json:"baseUrl"` BearerOnly bool `json:"bearerOnly"` ClientAuthenticatorType string `json:"clientAuthenticatorType"` ClientId string `json:"clientId"` ConsentRequired string `json:"consentRequired"` DefaultClientScopes []string `json:"defaultClientScopes"` DefaultRoles []string `json:"defaultRoles"` Description string `json:"description"` DirectAccessGrantsEnabled bool `json:"directAccessGrantsEnabled"` Enabled bool `json:"enabled"` FrontchannelLogout bool `json:"frontchannelLogout"` FullScopeAllowed bool `json:"fullScopeAllowed"` Id string `json:"id"` ImplicitFlowEnabled bool `json:"implicitFlowEnabled"` Name string `json:"name"` NotBefore int `json:"notBefore"` OptionalClientScopes []string `json:"optionalClientScopes"` Origin string `json:"origin"` Protocol string `json:"protocol"` ProtocolMappers []*GenericClientProtocolMapper `json:"protocolMappers"` PublicClient bool `json:"publicClient"` RedirectUris []string `json:"redirectUris"` RegisteredNodes map[string]string `json:"registeredNodes"` RegistrationAccessToken string `json:"registrationAccessToken"` RootUrl string `json:"rootUrl"` Secret string `json:"secret"` ServiceAccountsEnabled bool `json:"serviceAccountsEnabled"` StandardFlowEnabled bool `json:"standardFlowEnabled"` SurrogateAuthRequired bool `json:"surrogateAuthRequired"` WebOrigins []string `json:"webOrigins"` }
type Group ¶
type Group struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ParentId string `json:"-"` Name string `json:"name"` Path string `json:"path,omitempty"` SubGroups []*Group `json:"subGroups,omitempty"` RealmRoles []string `json:"realmRoles,omitempty"` ClientRoles map[string][]string `json:"clientRoles,omitempty"` Attributes map[string][]string `json:"attributes"` }
type IdentityProvider ¶
type IdentityProvider struct { Realm string `json:"-"` InternalId string `json:"internalId,omitempty"` Alias string `json:"alias"` DisplayName string `json:"displayName"` ProviderId string `json:"providerId"` Enabled bool `json:"enabled"` StoreToken bool `json:"storeToken"` AddReadTokenRoleOnCreate bool `json:"addReadTokenRoleOnCreate"` AuthenticateByDefault bool `json:"authenticateByDefault"` LinkOnly bool `json:"linkOnly"` TrustEmail bool `json:"trustEmail"` FirstBrokerLoginFlowAlias string `json:"firstBrokerLoginFlowAlias"` PostBrokerLoginFlowAlias string `json:"postBrokerLoginFlowAlias"` Config *IdentityProviderConfig `json:"config"` }
type IdentityProviderConfig ¶
type IdentityProviderConfig struct { Key string `json:"key,omitempty"` HostIp string `json:"hostIp,omitempty"` UseJwksUrl KeycloakBoolQuoted `json:"useJwksUrl,omitempty"` JwksUrl string `json:"jwksUrl,omitempty"` ClientId string `json:"clientId,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` DisableUserInfo KeycloakBoolQuoted `json:"disableUserInfo"` UserInfoUrl string `json:"userInfoUrl,omitempty"` HideOnLoginPage KeycloakBoolQuoted `json:"hideOnLoginPage"` NameIDPolicyFormat string `json:"nameIDPolicyFormat,omitempty"` EntityId string `json:"entityId,omitempty"` SingleLogoutServiceUrl string `json:"singleLogoutServiceUrl,omitempty"` SingleSignOnServiceUrl string `json:"singleSignOnServiceUrl,omitempty"` SigningCertificate string `json:"signingCertificate,omitempty"` SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` XmlSignKeyInfoKeyNameTransformer string `json:"xmlSignKeyInfoKeyNameTransformer,omitempty"` PostBindingAuthnRequest KeycloakBoolQuoted `json:"postBindingAuthnRequest,omitempty"` PostBindingResponse KeycloakBoolQuoted `json:"postBindingResponse,omitempty"` PostBindingLogout KeycloakBoolQuoted `json:"postBindingLogout,omitempty"` ForceAuthn KeycloakBoolQuoted `json:"forceAuthn,omitempty"` WantAuthnRequestsSigned KeycloakBoolQuoted `json:"wantAuthnRequestsSigned,omitempty"` WantAssertionsSigned KeycloakBoolQuoted `json:"wantAssertionsSigned,omitempty"` WantAssertionsEncrypted KeycloakBoolQuoted `json:"wantAssertionsEncrypted,omitempty"` BackchannelSupported KeycloakBoolQuoted `json:"backchannelSupported,omitempty"` ValidateSignature KeycloakBoolQuoted `json:"validateSignature,omitempty"` AuthorizationUrl string `json:"authorizationUrl,omitempty"` TokenUrl string `json:"tokenUrl,omitempty"` LoginHint string `json:"loginHint,omitempty"` UILocales KeycloakBoolQuoted `json:"uiLocales,omitempty"` LogoutUrl string `json:"logoutUrl,omitempty"` DefaultScope string `json:"defaultScope,omitempty"` AcceptsPromptNoneForwFrmClt KeycloakBoolQuoted `json:"acceptsPromptNoneForwardFromClient,omitempty"` HostedDomain string `json:"hostedDomain,omitempty"` UserIp KeycloakBoolQuoted `json:"userIp,omitempty"` OfflineAccess KeycloakBoolQuoted `json:"offlineAccess,omitempty"` PrincipalType string `json:"principalType,omitempty"` PrincipalAttribute string `json:"principalAttribute,omitempty"` GuiOrder string `json:"guiOrder,omitempty"` SyncMode string `json:"syncMode,omitempty"` ExtraConfig map[string]interface{} `json:"-"` }
func (*IdentityProviderConfig) MarshalJSON ¶
func (f *IdentityProviderConfig) MarshalJSON() ([]byte, error)
func (*IdentityProviderConfig) UnmarshalJSON ¶
func (f *IdentityProviderConfig) UnmarshalJSON(data []byte) error
type IdentityProviderMapper ¶
type IdentityProviderMapper struct { Realm string `json:"-"` Provider string `json:"-"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` IdentityProviderAlias string `json:"identityProviderAlias,omitempty"` IdentityProviderMapper string `json:"identityProviderMapper,omitempty"` Config map[string]interface{} `json:"config,omitempty"` }
type IdentityProviderPermissions ¶
type IdentityProviderPermissions struct { RealmId string `json:"-"` ProviderAlias string `json:"-"` Enabled bool `json:"enabled"` Resource string `json:"resource"` ScopePermissions map[string]interface{} `json:"scopePermissions"` }
func (*IdentityProviderPermissions) GetTokenExchangeScopedPermissionId ¶
func (identityProviderPermissions *IdentityProviderPermissions) GetTokenExchangeScopedPermissionId() (string, error)
type IdentityProviderPermissionsInput ¶
type IdentityProviderPermissionsInput struct {
Enabled bool `json:"enabled"`
}
type Key ¶
type Key struct { Algorithm *string `json:"algorithm,omitempty"` Certificate *string `json:"certificate,omitempty"` ProviderId *string `json:"providerId,omitempty"` ProviderPriority *int `json:"providerPriority,omitempty"` PublicKey *string `json:"publicKey,omitempty"` Kid *string `json:"kid,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
type KeycloakBoolQuoted ¶
type KeycloakBoolQuoted bool
func (KeycloakBoolQuoted) MarshalJSON ¶
func (c KeycloakBoolQuoted) MarshalJSON() ([]byte, error)
func (*KeycloakBoolQuoted) UnmarshalJSON ¶
func (c *KeycloakBoolQuoted) UnmarshalJSON(in []byte) error
type KeycloakClient ¶
type KeycloakClient struct {
// contains filtered or unexported fields
}
func NewKeycloakClient ¶
func (*KeycloakClient) AddClientRolesToGroup ¶
func (keycloakClient *KeycloakClient) AddClientRolesToGroup(realmId, groupId, clientId string, roles []*Role) error
func (*KeycloakClient) AddClientRolesToUser ¶
func (keycloakClient *KeycloakClient) AddClientRolesToUser(realmId, userId, clientId string, roles []*Role) error
func (*KeycloakClient) AddCompositesToRole ¶
func (keycloakClient *KeycloakClient) AddCompositesToRole(role *Role, compositeRoles []*Role) error
func (*KeycloakClient) AddDefaultDefaultClientScope ¶
func (keycloakClient *KeycloakClient) AddDefaultDefaultClientScope(realmId string, dcs DefaultClientScope) error
func (*KeycloakClient) AddOptionalDefaultClientScope ¶
func (keycloakClient *KeycloakClient) AddOptionalDefaultClientScope(realmId string, dcs DefaultClientScope) error
func (*KeycloakClient) AddRealmRolesToGroup ¶
func (keycloakClient *KeycloakClient) AddRealmRolesToGroup(realmId, groupId string, roles []*Role) error
func (*KeycloakClient) AddRealmRolesToUser ¶
func (keycloakClient *KeycloakClient) AddRealmRolesToUser(realmId, userId string, roles []*Role) error
func (*KeycloakClient) AddUserToGroups ¶
func (keycloakClient *KeycloakClient) AddUserToGroups(groupIds []string, userId string, realmId string) error
func (*KeycloakClient) AddUsersToGroup ¶
func (keycloakClient *KeycloakClient) AddUsersToGroup(realmId, groupId string, users []interface{}) error
func (*KeycloakClient) AttachOpenidClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) AttachOpenidClientDefaultScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) AttachOpenidClientOptionalScopes ¶
func (keycloakClient *KeycloakClient) AttachOpenidClientOptionalScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) AttachSamlClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) AttachSamlClientDefaultScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) CreateComponent ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) CreateComponent(realm string, component Component) error
func (*KeycloakClient) CreateRequiredAction ¶
func (keycloakClient *KeycloakClient) CreateRequiredAction(requiredAction *RequiredAction) error
func (*KeycloakClient) CreateRole ¶
func (keycloakClient *KeycloakClient) CreateRole(role *Role) error
func (*KeycloakClient) CreateRoleScopeMapping ¶
func (*KeycloakClient) DeleteAuthenticationExecution ¶
func (keycloakClient *KeycloakClient) DeleteAuthenticationExecution(realmId, id string) error
func (*KeycloakClient) DeleteAuthenticationExecutionConfig ¶
func (keycloakClient *KeycloakClient) DeleteAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_removeauthenticatorconfig
func (*KeycloakClient) DeleteAuthenticationFlow ¶
func (keycloakClient *KeycloakClient) DeleteAuthenticationFlow(realmId, id string) error
func (*KeycloakClient) DeleteAuthenticationSubFlow ¶
func (keycloakClient *KeycloakClient) DeleteAuthenticationSubFlow(realmId, parentFlowAlias, id string) error
func (*KeycloakClient) DeleteBuiltInFlowExecutors ¶
func (keycloakClient *KeycloakClient) DeleteBuiltInFlowExecutors(flow *AuthenticationFlow) error
func (*KeycloakClient) DeleteComponent ¶
func (keycloakClient *KeycloakClient) DeleteComponent(realmId, id string) error
func (*KeycloakClient) DeleteCustomUserFederation ¶
func (keycloakClient *KeycloakClient) DeleteCustomUserFederation(realmName, id string) error
func (*KeycloakClient) DeleteDefaultDefaultClientScope ¶
func (keycloakClient *KeycloakClient) DeleteDefaultDefaultClientScope(realmId string, id string) error
func (*KeycloakClient) DeleteDefaultGroup ¶
func (keycloakClient *KeycloakClient) DeleteDefaultGroup(realmName, groupId string) error
DeleteDefaultGroup deletes a group ID from the realm default groups.
func (*KeycloakClient) DeleteGenericClientProtocolMapper ¶
func (*KeycloakClient) DeleteGroup ¶
func (keycloakClient *KeycloakClient) DeleteGroup(realmId, id string) error
func (*KeycloakClient) DeleteIdentityProvider ¶
func (keycloakClient *KeycloakClient) DeleteIdentityProvider(realm, alias string) error
func (*KeycloakClient) DeleteIdentityProviderMapper ¶
func (keycloakClient *KeycloakClient) DeleteIdentityProviderMapper(realm, idpAlias, id string) error
func (*KeycloakClient) DeleteLdapFullNameMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapFullNameMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapGroupMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapGroupMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapHardcodedGroupMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapHardcodedGroupMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapHardcodedRoleMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapHardcodedRoleMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapMsadLdsUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapMsadLdsUserAccountControlMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapMsadUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapMsadUserAccountControlMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapRoleMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapRoleMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapUserAttributeMapper ¶
func (keycloakClient *KeycloakClient) DeleteLdapUserAttributeMapper(realmId, id string) error
func (*KeycloakClient) DeleteLdapUserFederation ¶
func (keycloakClient *KeycloakClient) DeleteLdapUserFederation(realmId, id string) error
func (*KeycloakClient) DeleteLdapUserFederationMappers ¶
func (keycloakClient *KeycloakClient) DeleteLdapUserFederationMappers(realmId, ldapUserFederationId string) error
func (*KeycloakClient) DeleteOpenIdAudienceProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdAudienceProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdFullNameProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdFullNameProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdGroupMembershipProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdGroupMembershipProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdHardcodedClaimProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdHardcodedClaimProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdHardcodedRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdHardcodedRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdUserClientRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdUserClientRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdUserRealmRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdUserRealmRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenIdUserSessionNoteProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteOpenIdUserSessionNoteProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteOpenidClient ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClient(realmId, id string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationAggregatePolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationAggregatePolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationClientPolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationClientPolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationGroupPolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationGroupPolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationJSPolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationJSPolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationPermission ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationPermission(realmId, resourceServerId, permissionId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationResource ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationResource(realmId, clientId, resourceId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationRolePolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationRolePolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationScope ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationScope(realmId, resourceServerId, scopeId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationTimePolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationTimePolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientAuthorizationUserPolicy ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientAuthorizationUserPolicy(realmId, resourceServerId, policyId string) error
func (*KeycloakClient) DeleteOpenidClientScope ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientScope(realmId, id string) error
func (*KeycloakClient) DeleteOpenidClientServiceAccountRealmRole ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientServiceAccountRealmRole(realm, serviceAccountUserId, roleId string) error
func (*KeycloakClient) DeleteOpenidClientServiceAccountRole ¶
func (keycloakClient *KeycloakClient) DeleteOpenidClientServiceAccountRole(realm, serviceAccountUserId, clientId, roleId string) error
func (*KeycloakClient) DeleteOptionalDefaultClientScope ¶
func (keycloakClient *KeycloakClient) DeleteOptionalDefaultClientScope(realmId string, id string) error
func (*KeycloakClient) DeleteRealm ¶
func (keycloakClient *KeycloakClient) DeleteRealm(name string) error
func (*KeycloakClient) DeleteRequiredAction ¶
func (keycloakClient *KeycloakClient) DeleteRequiredAction(realmName string, alias string) error
func (*KeycloakClient) DeleteRole ¶
func (keycloakClient *KeycloakClient) DeleteRole(realmId, id string) error
func (*KeycloakClient) DeleteRoleScopeMapping ¶
func (*KeycloakClient) DeleteSamlClient ¶
func (keycloakClient *KeycloakClient) DeleteSamlClient(realmId, id string) error
func (*KeycloakClient) DeleteSamlClientScope ¶
func (keycloakClient *KeycloakClient) DeleteSamlClientScope(realmId, id string) error
func (*KeycloakClient) DeleteSamlScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteSamlScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteSamlUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteSamlUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteSamlUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) DeleteSamlUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) error
func (*KeycloakClient) DeleteUser ¶
func (keycloakClient *KeycloakClient) DeleteUser(realmId, id string) error
func (*KeycloakClient) DetachOpenidClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) DetachOpenidClientDefaultScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) DetachOpenidClientOptionalScopes ¶
func (keycloakClient *KeycloakClient) DetachOpenidClientOptionalScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) DetachSamlClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) DetachSamlClientDefaultScopes(realmId, clientId string, scopeNames []string) error
func (*KeycloakClient) DisableIdentityProviderPermissions ¶
func (keycloakClient *KeycloakClient) DisableIdentityProviderPermissions(realmId, providerAlias string) error
func (*KeycloakClient) DisableOpenidClientPermissions ¶
func (keycloakClient *KeycloakClient) DisableOpenidClientPermissions(realmId, clientId string) error
func (*KeycloakClient) DisableUsersPermissions ¶
func (keycloakClient *KeycloakClient) DisableUsersPermissions(realmId string) error
func (*KeycloakClient) EnableIdentityProviderPermissions ¶
func (keycloakClient *KeycloakClient) EnableIdentityProviderPermissions(realmId, providerAlias string) error
func (*KeycloakClient) EnableOpenidClientPermissions ¶
func (keycloakClient *KeycloakClient) EnableOpenidClientPermissions(realmId, clientId string) error
func (*KeycloakClient) EnableUsersPermissions ¶
func (keycloakClient *KeycloakClient) EnableUsersPermissions(realmId string) error
func (*KeycloakClient) GetAuthenticationBindings ¶
func (keycloakClient *KeycloakClient) GetAuthenticationBindings(realmId string) (*AuthenticationBindings, error)
func (*KeycloakClient) GetAuthenticationExecution ¶
func (keycloakClient *KeycloakClient) GetAuthenticationExecution(realmId, parentFlowAlias, id string) (*AuthenticationExecution, error)
func (*KeycloakClient) GetAuthenticationExecutionConfig ¶
func (keycloakClient *KeycloakClient) GetAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_getauthenticatorconfig
func (*KeycloakClient) GetAuthenticationExecutionInfoFromProviderId ¶
func (keycloakClient *KeycloakClient) GetAuthenticationExecutionInfoFromProviderId(realmId, parentFlowAlias, providerId string) (*AuthenticationExecutionInfo, error)
func (*KeycloakClient) GetAuthenticationFlow ¶
func (keycloakClient *KeycloakClient) GetAuthenticationFlow(realmId, id string) (*AuthenticationFlow, error)
func (*KeycloakClient) GetAuthenticationFlowFromAlias ¶
func (keycloakClient *KeycloakClient) GetAuthenticationFlowFromAlias(realmId, alias string) (*AuthenticationFlow, error)
func (*KeycloakClient) GetAuthenticationSubFlow ¶
func (keycloakClient *KeycloakClient) GetAuthenticationSubFlow(realmId, parentFlowAlias, id string) (*AuthenticationSubFlow, error)
func (*KeycloakClient) GetAuthenticationSubFlowByAlias ¶
func (keycloakClient *KeycloakClient) GetAuthenticationSubFlowByAlias(realmId, parentFlowAlias, subFlowAlias string) (*AuthenticationSubFlow, error)
func (*KeycloakClient) GetClientAuthorizationPolicyByName ¶
func (keycloakClient *KeycloakClient) GetClientAuthorizationPolicyByName(realmId, resourceServerId, name string) (*OpenidClientAuthorizationPolicy, error)
func (*KeycloakClient) GetClientRoleUsers ¶
func (keycloakClient *KeycloakClient) GetClientRoleUsers(realmId string, roles []*Role) (*[]UsersInRole, error)
func (*KeycloakClient) GetClientRoles ¶
func (keycloakClient *KeycloakClient) GetClientRoles(realmId string, clients []*OpenidClient) ([]*Role, error)
func (*KeycloakClient) GetComponent ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) GetComponent(realm, id string) (*Component, error)
func (*KeycloakClient) GetComponents ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) GetComponents(realm, parent, providerType string) ([]Component, error)
func (*KeycloakClient) GetCustomUserFederation ¶
func (keycloakClient *KeycloakClient) GetCustomUserFederation(realmName, id string) (*CustomUserFederation, error)
func (*KeycloakClient) GetCustomUserFederations ¶
func (keycloakClient *KeycloakClient) GetCustomUserFederations(realmName, realmId string) (*[]CustomUserFederation, error)
func (*KeycloakClient) GetDefaultGroups ¶
func (keycloakClient *KeycloakClient) GetDefaultGroups(realmName string) ([]Group, error)
GetDefaultGroups returns all the default groups for a realm.
func (*KeycloakClient) GetDefaultRoles ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) GetDefaultRoles(realmId string) (*DefaultRoles, error)
func (*KeycloakClient) GetGenericClient ¶
func (keycloakClient *KeycloakClient) GetGenericClient(realmId, id string) (*GenericClient, error)
func (*KeycloakClient) GetGenericClientByClientId ¶
func (keycloakClient *KeycloakClient) GetGenericClientByClientId(realmId, clientId string) (*GenericClient, error)
func (*KeycloakClient) GetGenericClientProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetGenericClientProtocolMapper(realmId string, clientId string, clientScopeId string, mapperId string) (*GenericClientProtocolMapper, error)
func (*KeycloakClient) GetGenericClientProtocolMapperByName ¶
func (keycloakClient *KeycloakClient) GetGenericClientProtocolMapperByName(realmId, clientId, clientScopeId, mapperName string) (*GenericClientProtocolMapper, error)
func (*KeycloakClient) GetGenericClientProtocolMappers ¶
func (keycloakClient *KeycloakClient) GetGenericClientProtocolMappers(realmId string, clientId string) (*OpenidClientWithGenericClientProtocolMappers, error)
func (*KeycloakClient) GetGenericClientProtocolMappersByParent ¶
func (keycloakClient *KeycloakClient) GetGenericClientProtocolMappersByParent(realmId, clientId, clientScopeId string) ([]GenericClientProtocolMapper, error)
func (*KeycloakClient) GetGroup ¶
func (keycloakClient *KeycloakClient) GetGroup(realmId, id string) (*Group, error)
func (*KeycloakClient) GetGroupByName ¶
func (keycloakClient *KeycloakClient) GetGroupByName(realmId, name string) (*Group, error)
func (*KeycloakClient) GetGroupMembers ¶
func (keycloakClient *KeycloakClient) GetGroupMembers(realmId, groupId string) ([]*User, error)
func (*KeycloakClient) GetGroupRoleMappings ¶
func (keycloakClient *KeycloakClient) GetGroupRoleMappings(realmId string, userId string) (*RoleMapping, error)
func (*KeycloakClient) GetGroups ¶
func (keycloakClient *KeycloakClient) GetGroups(realmId string) ([]*Group, error)
func (*KeycloakClient) GetIdentityProvider ¶
func (keycloakClient *KeycloakClient) GetIdentityProvider(realm, alias string) (*IdentityProvider, error)
func (*KeycloakClient) GetIdentityProviderMapper ¶
func (keycloakClient *KeycloakClient) GetIdentityProviderMapper(realm, idpAlias, id string) (*IdentityProviderMapper, error)
func (*KeycloakClient) GetIdentityProviderPermissions ¶
func (keycloakClient *KeycloakClient) GetIdentityProviderPermissions(realmId, providerAlias string) (*IdentityProviderPermissions, error)
func (*KeycloakClient) GetLdapFullNameMapper ¶
func (keycloakClient *KeycloakClient) GetLdapFullNameMapper(realmId, id string) (*LdapFullNameMapper, error)
func (*KeycloakClient) GetLdapGroupMapper ¶
func (keycloakClient *KeycloakClient) GetLdapGroupMapper(realmId, id string) (*LdapGroupMapper, error)
func (*KeycloakClient) GetLdapHardcodedGroupMapper ¶
func (keycloakClient *KeycloakClient) GetLdapHardcodedGroupMapper(realmId, id string) (*LdapHardcodedGroupMapper, error)
func (*KeycloakClient) GetLdapHardcodedRoleMapper ¶
func (keycloakClient *KeycloakClient) GetLdapHardcodedRoleMapper(realmId, id string) (*LdapHardcodedRoleMapper, error)
func (*KeycloakClient) GetLdapMsadLdsUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) GetLdapMsadLdsUserAccountControlMapper(realmId, id string) (*LdapMsadLdsUserAccountControlMapper, error)
func (*KeycloakClient) GetLdapMsadUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) GetLdapMsadUserAccountControlMapper(realmId, id string) (*LdapMsadUserAccountControlMapper, error)
func (*KeycloakClient) GetLdapRoleMapper ¶
func (keycloakClient *KeycloakClient) GetLdapRoleMapper(realmId, id string) (*LdapRoleMapper, error)
func (*KeycloakClient) GetLdapUserAttributeMapper ¶
func (keycloakClient *KeycloakClient) GetLdapUserAttributeMapper(realmId, id string) (*LdapUserAttributeMapper, error)
func (*KeycloakClient) GetLdapUserFederation ¶
func (keycloakClient *KeycloakClient) GetLdapUserFederation(realmId, id string) (*LdapUserFederation, error)
func (*KeycloakClient) GetLdapUserFederationMappers ¶
func (keycloakClient *KeycloakClient) GetLdapUserFederationMappers(realmId, id string) (*[]interface{}, error)
func (*KeycloakClient) GetOpenIdAudienceProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdAudienceProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdAudienceProtocolMapper, error)
func (*KeycloakClient) GetOpenIdClientScopeByName ¶
func (keycloakClient *KeycloakClient) GetOpenIdClientScopeByName(realmId, scopeName string) (*OpenidClientScope, error)
func (*KeycloakClient) GetOpenIdFullNameProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdFullNameProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdFullNameProtocolMapper, error)
func (*KeycloakClient) GetOpenIdGroupMembershipProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdGroupMembershipProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdGroupMembershipProtocolMapper, error)
func (*KeycloakClient) GetOpenIdHardcodedClaimProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdHardcodedClaimProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdHardcodedClaimProtocolMapper, error)
func (*KeycloakClient) GetOpenIdHardcodedRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdHardcodedRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdHardcodedRoleProtocolMapper, error)
func (*KeycloakClient) GetOpenIdScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdScriptProtocolMapper, error)
func (*KeycloakClient) GetOpenIdUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserAttributeProtocolMapper, error)
func (*KeycloakClient) GetOpenIdUserClientRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdUserClientRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserClientRoleProtocolMapper, error)
func (*KeycloakClient) GetOpenIdUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserPropertyProtocolMapper, error)
func (*KeycloakClient) GetOpenIdUserRealmRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdUserRealmRoleProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserRealmRoleProtocolMapper, error)
func (*KeycloakClient) GetOpenIdUserSessionNoteProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetOpenIdUserSessionNoteProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*OpenIdUserSessionNoteProtocolMapper, error)
func (*KeycloakClient) GetOpenidClient ¶
func (keycloakClient *KeycloakClient) GetOpenidClient(realmId, id string) (*OpenidClient, error)
func (*KeycloakClient) GetOpenidClientAuthorizationAggregatePolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationAggregatePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationAggregatePolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationClientPolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationClientPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationClientPolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationGroupPolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationGroupPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationGroupPolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationJSPolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationJSPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationJSPolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationPermission ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationPermission(realm, resourceServerId, id string) (*OpenidClientAuthorizationPermission, error)
func (*KeycloakClient) GetOpenidClientAuthorizationResource ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationResource(realm, resourceServerId, resourceId string) (*OpenidClientAuthorizationResource, error)
func (*KeycloakClient) GetOpenidClientAuthorizationResourceByName ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationResourceByName(realmId, resourceServerId, name string) (*OpenidClientAuthorizationResource, error)
func (*KeycloakClient) GetOpenidClientAuthorizationRolePolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationRolePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationRolePolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationScope ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationScope(realm, resourceServerId, scopeId string) (*OpenidClientAuthorizationScope, error)
func (*KeycloakClient) GetOpenidClientAuthorizationTimePolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationTimePolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationTimePolicy, error)
func (*KeycloakClient) GetOpenidClientAuthorizationUserPolicy ¶
func (keycloakClient *KeycloakClient) GetOpenidClientAuthorizationUserPolicy(realmId, resourceServerId, policyId string) (*OpenidClientAuthorizationUserPolicy, error)
func (*KeycloakClient) GetOpenidClientByClientId ¶
func (keycloakClient *KeycloakClient) GetOpenidClientByClientId(realmId, clientId string) (*OpenidClient, error)
func (*KeycloakClient) GetOpenidClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) GetOpenidClientDefaultScopes(realmId, clientId string) ([]*OpenidClientScope, error)
func (*KeycloakClient) GetOpenidClientOptionalScopes ¶
func (keycloakClient *KeycloakClient) GetOpenidClientOptionalScopes(realmId, clientId string) ([]*OpenidClientScope, error)
func (*KeycloakClient) GetOpenidClientPermissions ¶
func (keycloakClient *KeycloakClient) GetOpenidClientPermissions(realmId, clientId string) (*OpenidClientPermissions, error)
func (*KeycloakClient) GetOpenidClientScope ¶
func (keycloakClient *KeycloakClient) GetOpenidClientScope(realmId, id string) (*OpenidClientScope, error)
func (*KeycloakClient) GetOpenidClientServiceAccountClientRoles ¶
func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountClientRoles(realm, serviceAccountUserId, clientId string) ([]*OpenidClientServiceAccountRole, error)
func (*KeycloakClient) GetOpenidClientServiceAccountRealmRole ¶
func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRealmRole(realm, serviceAccountUserId, roleId string) (*OpenidClientServiceAccountRealmRole, error)
func (*KeycloakClient) GetOpenidClientServiceAccountRealmRoles ¶
func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRealmRoles(realm, serviceAccountUserId string) ([]*OpenidClientServiceAccountRole, error)
func (*KeycloakClient) GetOpenidClientServiceAccountRole ¶
func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountRole(realm, serviceAccountUserId, clientId, roleId string) (*OpenidClientServiceAccountRole, error)
func (*KeycloakClient) GetOpenidClientServiceAccountUserId ¶
func (keycloakClient *KeycloakClient) GetOpenidClientServiceAccountUserId(realmId, clientId string) (*User, error)
func (*KeycloakClient) GetOpenidClients ¶
func (keycloakClient *KeycloakClient) GetOpenidClients(realmId string, withSecrets bool) ([]*OpenidClient, error)
func (*KeycloakClient) GetOpenidDefaultClientScopes ¶
func (keycloakClient *KeycloakClient) GetOpenidDefaultClientScopes(realmId, clientId string) (*[]OpenidClientScope, error)
func (*KeycloakClient) GetOpenidOptionalClientScopes ¶
func (keycloakClient *KeycloakClient) GetOpenidOptionalClientScopes(realmId, clientId string) (*[]OpenidClientScope, error)
func (*KeycloakClient) GetRealm ¶
func (keycloakClient *KeycloakClient) GetRealm(name string) (*Realm, error)
func (*KeycloakClient) GetRealmDefaultClientScopes ¶
func (keycloakClient *KeycloakClient) GetRealmDefaultClientScopes(realmId string) ([]*OpenidClientScope, error)
func (*KeycloakClient) GetRealmEventsConfig ¶
func (keycloakClient *KeycloakClient) GetRealmEventsConfig(realmId string) (*RealmEventsConfig, error)
func (*KeycloakClient) GetRealmKeys ¶
func (keycloakClient *KeycloakClient) GetRealmKeys(name string) (*Keys, error)
func (*KeycloakClient) GetRealmOptionalClientScopes ¶
func (keycloakClient *KeycloakClient) GetRealmOptionalClientScopes(realmId string) ([]*OpenidClientScope, error)
func (*KeycloakClient) GetRealmRoles ¶
func (keycloakClient *KeycloakClient) GetRealmRoles(realmId string) ([]*Role, error)
func (*KeycloakClient) GetRealms ¶
func (keycloakClient *KeycloakClient) GetRealms() ([]*Realm, error)
func (*KeycloakClient) GetRequiredAction ¶
func (keycloakClient *KeycloakClient) GetRequiredAction(realmId string, alias string) (*RequiredAction, error)
func (*KeycloakClient) GetRequiredActions ¶
func (keycloakClient *KeycloakClient) GetRequiredActions(realmId string) ([]*RequiredAction, error)
func (*KeycloakClient) GetRole ¶
func (keycloakClient *KeycloakClient) GetRole(realmId, id string) (*Role, error)
func (*KeycloakClient) GetRoleByName ¶
func (keycloakClient *KeycloakClient) GetRoleByName(realmId, clientId, name string) (*Role, error)
func (*KeycloakClient) GetRoleComposites ¶
func (keycloakClient *KeycloakClient) GetRoleComposites(role *Role) ([]*Role, error)
func (*KeycloakClient) GetRoleScopeMapping ¶
func (*KeycloakClient) GetSamlClient ¶
func (keycloakClient *KeycloakClient) GetSamlClient(realmId, id string) (*SamlClient, error)
func (*KeycloakClient) GetSamlClientByClientId ¶
func (keycloakClient *KeycloakClient) GetSamlClientByClientId(realmId, clientId string) (*SamlClient, error)
func (*KeycloakClient) GetSamlClientDefaultScopes ¶
func (keycloakClient *KeycloakClient) GetSamlClientDefaultScopes(realmId, clientId string) ([]*SamlClientScope, error)
func (*KeycloakClient) GetSamlClientInstallationProvider ¶
func (keycloakClient *KeycloakClient) GetSamlClientInstallationProvider(realmId, id string, providerId string) ([]byte, error)
func (*KeycloakClient) GetSamlClientScope ¶
func (keycloakClient *KeycloakClient) GetSamlClientScope(realmId, id string) (*SamlClientScope, error)
func (*KeycloakClient) GetSamlDefaultClientScopes ¶
func (keycloakClient *KeycloakClient) GetSamlDefaultClientScopes(realmId, clientId string) (*[]SamlClientScope, error)
func (*KeycloakClient) GetSamlScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetSamlScriptProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlScriptProtocolMapper, error)
func (*KeycloakClient) GetSamlUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetSamlUserAttributeProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlUserAttributeProtocolMapper, error)
func (*KeycloakClient) GetSamlUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) GetSamlUserPropertyProtocolMapper(realmId, clientId, clientScopeId, mapperId string) (*SamlUserPropertyProtocolMapper, error)
func (*KeycloakClient) GetServerInfo ¶
func (keycloakClient *KeycloakClient) GetServerInfo() (*ServerInfo, error)
func (*KeycloakClient) GetUnregisteredRequiredActions ¶
func (keycloakClient *KeycloakClient) GetUnregisteredRequiredActions(realmId string) ([]*RequiredAction, error)
func (*KeycloakClient) GetUser ¶
func (keycloakClient *KeycloakClient) GetUser(realmId, id string) (*User, error)
func (*KeycloakClient) GetUserByUsername ¶
func (keycloakClient *KeycloakClient) GetUserByUsername(realmId, username string) (*User, error)
func (*KeycloakClient) GetUserGroups ¶
func (keycloakClient *KeycloakClient) GetUserGroups(realmId, userId string) ([]*Group, error)
func (*KeycloakClient) GetUserRoleMappings ¶
func (keycloakClient *KeycloakClient) GetUserRoleMappings(realmId string, userId string) (*RoleMapping, error)
func (*KeycloakClient) GetUsers ¶
func (keycloakClient *KeycloakClient) GetUsers(realmId string) ([]*User, error)
func (*KeycloakClient) GetUsersPermissions ¶
func (keycloakClient *KeycloakClient) GetUsersPermissions(realmId string) (*UsersPermissions, error)
func (*KeycloakClient) ListAuthenticationExecutions ¶
func (keycloakClient *KeycloakClient) ListAuthenticationExecutions(realmId, parentFlowAlias string) (AuthenticationExecutionList, error)
func (*KeycloakClient) ListAuthenticationFlows ¶
func (keycloakClient *KeycloakClient) ListAuthenticationFlows(realmId string) ([]*AuthenticationFlow, error)
func (*KeycloakClient) ListGroupsWithName ¶
func (keycloakClient *KeycloakClient) ListGroupsWithName(realmId, name string) ([]*Group, error)
func (*KeycloakClient) ListOpenidClientScopesWithFilter ¶
func (keycloakClient *KeycloakClient) ListOpenidClientScopesWithFilter(realmId string, filter OpenidClientScopeFilterFunc) ([]*OpenidClientScope, error)
func (*KeycloakClient) ListSamlClientScopesWithFilter ¶
func (keycloakClient *KeycloakClient) ListSamlClientScopesWithFilter(realmId string, filter SamlClientScopeFilterFunc) ([]*SamlClientScope, error)
func (*KeycloakClient) LowerAuthenticationExecutionPriority ¶
func (keycloakClient *KeycloakClient) LowerAuthenticationExecutionPriority(realmId, id string) error
func (*KeycloakClient) LowerAuthenticationSubFlowPriority ¶
func (keycloakClient *KeycloakClient) LowerAuthenticationSubFlowPriority(realmId, parentFlowAlias, id string) error
func (*KeycloakClient) NewAuthenticationExecution ¶
func (keycloakClient *KeycloakClient) NewAuthenticationExecution(execution *AuthenticationExecution) error
func (*KeycloakClient) NewAuthenticationExecutionConfig ¶
func (keycloakClient *KeycloakClient) NewAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) (string, error)
https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_newexecutionconfig
func (*KeycloakClient) NewAuthenticationFlow ¶
func (keycloakClient *KeycloakClient) NewAuthenticationFlow(authenticationFlow *AuthenticationFlow) error
func (*KeycloakClient) NewAuthenticationSubFlow ¶
func (keycloakClient *KeycloakClient) NewAuthenticationSubFlow(authenticationSubFlow *AuthenticationSubFlow) error
func (*KeycloakClient) NewCustomUserFederation ¶
func (keycloakClient *KeycloakClient) NewCustomUserFederation(customUserFederation *CustomUserFederation) error
func (*KeycloakClient) NewGenericClientDescription ¶
func (keycloakClient *KeycloakClient) NewGenericClientDescription(realmId string, body string) (*GenericClientRepresentation, error)
func (*KeycloakClient) NewGenericClientProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewGenericClientProtocolMapper(genericClientProtocolMapper *GenericClientProtocolMapper) error
func (*KeycloakClient) NewGroup ¶
func (keycloakClient *KeycloakClient) NewGroup(group *Group) error
* Top level groups are created via POST /realms/${realm_id}/groups * Child groups are created via POST /realms/${realm_id}/groups/${parent_id}/children
func (*KeycloakClient) NewIdentityProvider ¶
func (keycloakClient *KeycloakClient) NewIdentityProvider(identityProvider *IdentityProvider) error
func (*KeycloakClient) NewIdentityProviderMapper ¶
func (keycloakClient *KeycloakClient) NewIdentityProviderMapper(identityProviderMapper *IdentityProviderMapper) error
func (*KeycloakClient) NewLdapFullNameMapper ¶
func (keycloakClient *KeycloakClient) NewLdapFullNameMapper(ldapFullNameMapper *LdapFullNameMapper) error
func (*KeycloakClient) NewLdapGroupMapper ¶
func (keycloakClient *KeycloakClient) NewLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
func (*KeycloakClient) NewLdapHardcodedGroupMapper ¶
func (keycloakClient *KeycloakClient) NewLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
func (*KeycloakClient) NewLdapHardcodedRoleMapper ¶
func (keycloakClient *KeycloakClient) NewLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
func (*KeycloakClient) NewLdapMsadLdsUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) NewLdapMsadLdsUserAccountControlMapper(ldapMsadLdsUserAccountControlMapper *LdapMsadLdsUserAccountControlMapper) error
func (*KeycloakClient) NewLdapMsadUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) NewLdapMsadUserAccountControlMapper(ldapMsadUserAccountControlMapper *LdapMsadUserAccountControlMapper) error
func (*KeycloakClient) NewLdapRoleMapper ¶
func (keycloakClient *KeycloakClient) NewLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
func (*KeycloakClient) NewLdapUserAttributeMapper ¶
func (keycloakClient *KeycloakClient) NewLdapUserAttributeMapper(ldapUserAttributeMapper *LdapUserAttributeMapper) error
func (*KeycloakClient) NewLdapUserFederation ¶
func (keycloakClient *KeycloakClient) NewLdapUserFederation(ldapUserFederation *LdapUserFederation) error
func (*KeycloakClient) NewOpenIdAudienceProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
func (*KeycloakClient) NewOpenIdFullNameProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
func (*KeycloakClient) NewOpenIdGroupMembershipProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
func (*KeycloakClient) NewOpenIdHardcodedClaimProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
func (*KeycloakClient) NewOpenIdHardcodedRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
func (*KeycloakClient) NewOpenIdScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
func (*KeycloakClient) NewOpenIdUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
func (*KeycloakClient) NewOpenIdUserClientRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
func (*KeycloakClient) NewOpenIdUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdUserPropertyProtocolMapper(mapper *OpenIdUserPropertyProtocolMapper) error
func (*KeycloakClient) NewOpenIdUserRealmRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
func (*KeycloakClient) NewOpenIdUserSessionNoteProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
func (*KeycloakClient) NewOpenidClient ¶
func (keycloakClient *KeycloakClient) NewOpenidClient(client *OpenidClient) error
func (*KeycloakClient) NewOpenidClientAuthorizationAggregatePolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationAggregatePolicy(policy *OpenidClientAuthorizationAggregatePolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationClientPolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationClientPolicy(policy *OpenidClientAuthorizationClientPolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationGroupPolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationGroupPolicy(policy *OpenidClientAuthorizationGroupPolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationJSPolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationJSPolicy(policy *OpenidClientAuthorizationJSPolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationPermission ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationPermission(permission *OpenidClientAuthorizationPermission) error
func (*KeycloakClient) NewOpenidClientAuthorizationResource ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationResource(resource *OpenidClientAuthorizationResource) error
func (*KeycloakClient) NewOpenidClientAuthorizationRolePolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationRolePolicy(policy *OpenidClientAuthorizationRolePolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationScope ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationScope(scope *OpenidClientAuthorizationScope) error
func (*KeycloakClient) NewOpenidClientAuthorizationTimePolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationTimePolicy(policy *OpenidClientAuthorizationTimePolicy) error
func (*KeycloakClient) NewOpenidClientAuthorizationUserPolicy ¶
func (keycloakClient *KeycloakClient) NewOpenidClientAuthorizationUserPolicy(policy *OpenidClientAuthorizationUserPolicy) error
func (*KeycloakClient) NewOpenidClientScope ¶
func (keycloakClient *KeycloakClient) NewOpenidClientScope(clientScope *OpenidClientScope) error
func (*KeycloakClient) NewOpenidClientServiceAccountRealmRole ¶
func (keycloakClient *KeycloakClient) NewOpenidClientServiceAccountRealmRole(serviceAccountRole *OpenidClientServiceAccountRealmRole) error
func (*KeycloakClient) NewOpenidClientServiceAccountRole ¶
func (keycloakClient *KeycloakClient) NewOpenidClientServiceAccountRole(serviceAccountRole *OpenidClientServiceAccountRole) error
func (*KeycloakClient) NewRealm ¶
func (keycloakClient *KeycloakClient) NewRealm(realm *Realm) error
func (*KeycloakClient) NewSamlClient ¶
func (keycloakClient *KeycloakClient) NewSamlClient(client *SamlClient) error
func (*KeycloakClient) NewSamlClientScope ¶
func (keycloakClient *KeycloakClient) NewSamlClientScope(clientScope *SamlClientScope) error
func (*KeycloakClient) NewSamlScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
func (*KeycloakClient) NewSamlUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
func (*KeycloakClient) NewSamlUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) NewSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
func (*KeycloakClient) NewUser ¶
func (keycloakClient *KeycloakClient) NewUser(user *User) error
func (*KeycloakClient) PutDefaultGroup ¶
func (keycloakClient *KeycloakClient) PutDefaultGroup(realmName, groupId string) error
PutDefaultGroup will PUT a new group ID to the realm default groups. This is effectively an "upsert".
func (*KeycloakClient) RaiseAuthenticationExecutionPriority ¶
func (keycloakClient *KeycloakClient) RaiseAuthenticationExecutionPriority(realmId, id string) error
func (*KeycloakClient) RaiseAuthenticationSubFlowPriority ¶
func (keycloakClient *KeycloakClient) RaiseAuthenticationSubFlowPriority(realmId, parentFlowAlias, id string) error
func (*KeycloakClient) RegisterRequiredAction ¶
func (keycloakClient *KeycloakClient) RegisterRequiredAction(requiredAction *RequiredAction) error
func (*KeycloakClient) RemoveClientRolesFromGroup ¶
func (keycloakClient *KeycloakClient) RemoveClientRolesFromGroup(realmId, groupId, clientId string, roles []*Role) error
func (*KeycloakClient) RemoveClientRolesFromUser ¶
func (keycloakClient *KeycloakClient) RemoveClientRolesFromUser(realmId, userId, clientId string, roles []*Role) error
func (*KeycloakClient) RemoveCompositesFromRole ¶
func (keycloakClient *KeycloakClient) RemoveCompositesFromRole(role *Role, compositeRoles []*Role) error
func (*KeycloakClient) RemoveRealmRolesFromGroup ¶
func (keycloakClient *KeycloakClient) RemoveRealmRolesFromGroup(realmId, groupId string, roles []*Role) error
func (*KeycloakClient) RemoveRealmRolesFromUser ¶
func (keycloakClient *KeycloakClient) RemoveRealmRolesFromUser(realmId, userId string, roles []*Role) error
func (*KeycloakClient) RemoveUserFromGroup ¶
func (keycloakClient *KeycloakClient) RemoveUserFromGroup(user *User, groupId string) error
func (*KeycloakClient) RemoveUserFromGroups ¶
func (keycloakClient *KeycloakClient) RemoveUserFromGroups(groupIds []string, userId string, realmId string) error
func (*KeycloakClient) RemoveUsersFromGroup ¶
func (keycloakClient *KeycloakClient) RemoveUsersFromGroup(realmId, groupId string, usernames []interface{}) error
func (*KeycloakClient) ResetUserPassword ¶
func (keycloakClient *KeycloakClient) ResetUserPassword(realmId, userId string, newPassword string, isTemporary bool) error
func (*KeycloakClient) UpdateAuthenticationBindings ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationBindings(authenticationBindings *AuthenticationBindings) error
func (*KeycloakClient) UpdateAuthenticationExecution ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationExecution(execution *AuthenticationExecution) error
func (*KeycloakClient) UpdateAuthenticationExecutionConfig ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationExecutionConfig(config *AuthenticationExecutionConfig) error
https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_updateauthenticatorconfig
func (*KeycloakClient) UpdateAuthenticationExecutionRequirement ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationExecutionRequirement(executionRequirementUpdate *authenticationExecutionRequirementUpdate) error
func (*KeycloakClient) UpdateAuthenticationFlow ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationFlow(authenticationFlow *AuthenticationFlow) error
func (*KeycloakClient) UpdateAuthenticationSubFlow ¶
func (keycloakClient *KeycloakClient) UpdateAuthenticationSubFlow(authenticationSubFlow *AuthenticationSubFlow) error
func (*KeycloakClient) UpdateComponent ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) UpdateComponent(realm string, component Component) error
func (*KeycloakClient) UpdateCustomUserFederation ¶
func (keycloakClient *KeycloakClient) UpdateCustomUserFederation(customUserFederation *CustomUserFederation) error
func (*KeycloakClient) UpdateDefaultRoles ¶ added in v1.0.4
func (keycloakClient *KeycloakClient) UpdateDefaultRoles(defaultRoles *DefaultRoles) error
func (*KeycloakClient) UpdateGenericClientProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateGenericClientProtocolMapper(genericClientProtocolMapper *GenericClientProtocolMapper) error
func (*KeycloakClient) UpdateGroup ¶
func (keycloakClient *KeycloakClient) UpdateGroup(group *Group) error
func (*KeycloakClient) UpdateIdentityProvider ¶
func (keycloakClient *KeycloakClient) UpdateIdentityProvider(identityProvider *IdentityProvider) error
func (*KeycloakClient) UpdateIdentityProviderMapper ¶
func (keycloakClient *KeycloakClient) UpdateIdentityProviderMapper(identityProviderMapper *IdentityProviderMapper) error
func (*KeycloakClient) UpdateLdapFullNameMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapFullNameMapper(ldapFullNameMapper *LdapFullNameMapper) error
func (*KeycloakClient) UpdateLdapGroupMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
func (*KeycloakClient) UpdateLdapHardcodedGroupMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
func (*KeycloakClient) UpdateLdapHardcodedRoleMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
func (*KeycloakClient) UpdateLdapMsadLdsUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapMsadLdsUserAccountControlMapper(ldapMsadLdsUserAccountControlMapper *LdapMsadLdsUserAccountControlMapper) error
func (*KeycloakClient) UpdateLdapMsadUserAccountControlMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapMsadUserAccountControlMapper(ldapMsadUserAccountControlMapper *LdapMsadUserAccountControlMapper) error
func (*KeycloakClient) UpdateLdapRoleMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
func (*KeycloakClient) UpdateLdapUserAttributeMapper ¶
func (keycloakClient *KeycloakClient) UpdateLdapUserAttributeMapper(ldapUserAttributeMapper *LdapUserAttributeMapper) error
func (*KeycloakClient) UpdateLdapUserFederation ¶
func (keycloakClient *KeycloakClient) UpdateLdapUserFederation(ldapUserFederation *LdapUserFederation) error
func (*KeycloakClient) UpdateOpenIdAudienceProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdFullNameProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdGroupMembershipProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdHardcodedClaimProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdHardcodedRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdUserClientRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdUserPropertyProtocolMapper(mapper *OpenIdUserPropertyProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdUserRealmRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
func (*KeycloakClient) UpdateOpenIdUserSessionNoteProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
func (*KeycloakClient) UpdateOpenidClient ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClient(client *OpenidClient) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationAggregatePolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationAggregatePolicy(policy *OpenidClientAuthorizationAggregatePolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationClientPolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationClientPolicy(policy *OpenidClientAuthorizationClientPolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationGroupPolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationGroupPolicy(policy *OpenidClientAuthorizationGroupPolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationJSPolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationJSPolicy(policy *OpenidClientAuthorizationJSPolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationPermission ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationPermission(permission *OpenidClientAuthorizationPermission) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationResource ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationResource(resource *OpenidClientAuthorizationResource) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationRolePolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationRolePolicy(policy *OpenidClientAuthorizationRolePolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationScope ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationScope(scope *OpenidClientAuthorizationScope) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationTimePolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationTimePolicy(policy *OpenidClientAuthorizationTimePolicy) error
func (*KeycloakClient) UpdateOpenidClientAuthorizationUserPolicy ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientAuthorizationUserPolicy(policy *OpenidClientAuthorizationUserPolicy) error
func (*KeycloakClient) UpdateOpenidClientScope ¶
func (keycloakClient *KeycloakClient) UpdateOpenidClientScope(clientScope *OpenidClientScope) error
func (*KeycloakClient) UpdateRealm ¶
func (keycloakClient *KeycloakClient) UpdateRealm(realm *Realm) error
func (*KeycloakClient) UpdateRealmEventsConfig ¶
func (keycloakClient *KeycloakClient) UpdateRealmEventsConfig(realmId string, realmEventsConfig *RealmEventsConfig) error
func (*KeycloakClient) UpdateRequiredAction ¶
func (keycloakClient *KeycloakClient) UpdateRequiredAction(requiredAction *RequiredAction) error
func (*KeycloakClient) UpdateRole ¶
func (keycloakClient *KeycloakClient) UpdateRole(role *Role) error
func (*KeycloakClient) UpdateSamlClient ¶
func (keycloakClient *KeycloakClient) UpdateSamlClient(client *SamlClient) error
func (*KeycloakClient) UpdateSamlClientScope ¶
func (keycloakClient *KeycloakClient) UpdateSamlClientScope(clientScope *SamlClientScope) error
func (*KeycloakClient) UpdateSamlScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
func (*KeycloakClient) UpdateSamlUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
func (*KeycloakClient) UpdateSamlUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) UpdateSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
func (*KeycloakClient) UpdateUser ¶
func (keycloakClient *KeycloakClient) UpdateUser(user *User) error
func (*KeycloakClient) ValidateCustomUserFederation ¶
func (keycloakClient *KeycloakClient) ValidateCustomUserFederation(custom *CustomUserFederation) error
func (*KeycloakClient) ValidateGroupMembers ¶
func (keycloakClient *KeycloakClient) ValidateGroupMembers(usernames []interface{}) error
func (*KeycloakClient) ValidateLdapFullNameMapper ¶
func (keycloakClient *KeycloakClient) ValidateLdapFullNameMapper(mapper *LdapFullNameMapper) error
the keycloak api client is passed in order to fetch the ldap provider for writable validation
func (*KeycloakClient) ValidateLdapGroupMapper ¶
func (keycloakClient *KeycloakClient) ValidateLdapGroupMapper(ldapGroupMapper *LdapGroupMapper) error
func (*KeycloakClient) ValidateLdapHardcodedGroupMapper ¶
func (keycloakClient *KeycloakClient) ValidateLdapHardcodedGroupMapper(ldapMapper *LdapHardcodedGroupMapper) error
func (*KeycloakClient) ValidateLdapHardcodedRoleMapper ¶
func (keycloakClient *KeycloakClient) ValidateLdapHardcodedRoleMapper(ldapMapper *LdapHardcodedRoleMapper) error
func (*KeycloakClient) ValidateLdapRoleMapper ¶
func (keycloakClient *KeycloakClient) ValidateLdapRoleMapper(ldapRoleMapper *LdapRoleMapper) error
func (*KeycloakClient) ValidateLdapUserFederation ¶
func (keycloakClient *KeycloakClient) ValidateLdapUserFederation(ldap *LdapUserFederation) error
func (*KeycloakClient) ValidateOpenIdAudienceProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdAudienceProtocolMapper(mapper *OpenIdAudienceProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdFullNameProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdFullNameProtocolMapper(mapper *OpenIdFullNameProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdGroupMembershipProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdGroupMembershipProtocolMapper(mapper *OpenIdGroupMembershipProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdHardcodedClaimProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdHardcodedClaimProtocolMapper(mapper *OpenIdHardcodedClaimProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdHardcodedRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdHardcodedRoleProtocolMapper(mapper *OpenIdHardcodedRoleProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdScriptProtocolMapper(mapper *OpenIdScriptProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdUserAttributeProtocolMapper(mapper *OpenIdUserAttributeProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdUserClientRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdUserClientRoleProtocolMapper(mapper *OpenIdUserClientRoleProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdUserRealmRoleProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdUserRealmRoleProtocolMapper(mapper *OpenIdUserRealmRoleProtocolMapper) error
func (*KeycloakClient) ValidateOpenIdUserSessionNoteProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateOpenIdUserSessionNoteProtocolMapper(mapper *OpenIdUserSessionNoteProtocolMapper) error
func (*KeycloakClient) ValidateOpenidClient ¶
func (keycloakClient *KeycloakClient) ValidateOpenidClient(client *OpenidClient) error
func (*KeycloakClient) ValidateRealm ¶
func (keycloakClient *KeycloakClient) ValidateRealm(realm *Realm) error
func (*KeycloakClient) ValidateRequiredAction ¶
func (keycloakClient *KeycloakClient) ValidateRequiredAction(requiredAction *RequiredAction) error
func (*KeycloakClient) ValidateSamlScriptProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateSamlScriptProtocolMapper(mapper *SamlScriptProtocolMapper) error
func (*KeycloakClient) ValidateSamlUserAttributeProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateSamlUserAttributeProtocolMapper(mapper *SamlUserAttributeProtocolMapper) error
func (*KeycloakClient) ValidateSamlUserPropertyProtocolMapper ¶
func (keycloakClient *KeycloakClient) ValidateSamlUserPropertyProtocolMapper(mapper *SamlUserPropertyProtocolMapper) error
func (*KeycloakClient) VersionIsGreaterThanOrEqualTo ¶
func (keycloakClient *KeycloakClient) VersionIsGreaterThanOrEqualTo(versionString Version) bool
type LdapFullNameMapper ¶
type LdapGroupMapper ¶
type LdapGroupMapper struct { Id string Name string RealmId string LdapUserFederationId string LdapGroupsDn string GroupNameLdapAttribute string GroupObjectClasses []string PreserveGroupInheritance bool IgnoreMissingGroups bool MembershipLdapAttribute string MembershipAttributeType string MembershipUserLdapAttribute string GroupsLdapFilter string Mode string UserRolesRetrieveStrategy string MemberofLdapAttribute string MappedGroupAttributes []string DropNonExistingGroupsDuringSync bool GroupsPath string }
type LdapHardcodedRoleMapper ¶
type LdapRoleMapper ¶
type LdapRoleMapper struct { Id string Name string RealmId string LdapUserFederationId string LdapRolesDn string RoleNameLdapAttribute string RoleObjectClasses []string MembershipLdapAttribute string MembershipAttributeType string MembershipUserLdapAttribute string RolesLdapFilter string Mode string UserRolesRetrieveStrategy string MemberofLdapAttribute string UseRealmRolesMapping bool ClientId string }
type LdapUserAttributeMapper ¶
type LdapUserFederation ¶
type LdapUserFederation struct { Id string Name string RealmId string Enabled bool Priority int ImportEnabled bool EditMode string // can be "READ_ONLY", "WRITABLE", or "UNSYNCED" SyncRegistrations bool // I think this field controls whether or not BatchSizeForSync, FullSyncPeriod, and ChangedSyncPeriod are needed Vendor string // can be "other", "edirectory", "ad", "rhds", or "tivoli". honestly I don't think this field actually does anything UsernameLDAPAttribute string RdnLDAPAttribute string UuidLDAPAttribute string UserObjectClasses []string // api expects comma + space separated for some reason ConnectionUrl string UsersDn string BindDn string BindCredential string CustomUserSearchFilter string // must start with '(' and end with ')' SearchScope string // api expects "1" or "2", but that means "One Level" or "Subtree" ValidatePasswordPolicy bool TrustEmail bool UseTruststoreSpi string // can be "ldapsOnly", "always", or "never" ConnectionTimeout string // duration string (ex: 1h30m) ReadTimeout string // duration string (ex: 1h30m) Pagination bool ConnectionPooling bool ConnectionPoolingAuthentication *string // "none", "simple" ConnectionPoolDebugLevel *string // "fine", "all" ConnectionPoolInitialSize *int ConnectionPoolMaximumSize *int ConnectionPoolPreferredSize *int ConnectionPoolProtocol *string // "plain", "ssl" ConnectionPoolTimeout *int ServerPrincipal string UseKerberosForPasswordAuthentication bool AllowKerberosAuthentication bool KeyTab string KerberosRealm string BatchSizeForSync int FullSyncPeriod int // either a number, in milliseconds, or -1 if full sync is disabled ChangedSyncPeriod int // either a number, in milliseconds, or -1 if changed sync is disabled CachePolicy string MaxLifespan string // duration string (ex: 1h30m) EvictionDay *int EvictionHour *int EvictionMinute *int }
type OpenIdScriptProtocolMapper ¶
type OpenIdScriptProtocolMapper struct { Id string Name string RealmId string ClientId string ClientScopeId string AddToIdToken bool AddToAccessToken bool AddToUserInfo bool Script string ClaimName string ClaimValueType string Multivalued bool // indicates whether is this an array of attributes or a single attribute }
type OpenIdUserAttributeProtocolMapper ¶
type OpenIdUserAttributeProtocolMapper struct { Id string Name string RealmId string ClientId string ClientScopeId string AddToIdToken bool AddToAccessToken bool AddToUserInfo bool UserAttribute string ClaimName string ClaimValueType string Multivalued bool // indicates whether is this an array of attributes or a single attribute AggregateAttributeValues bool }
type OpenIdUserPropertyProtocolMapper ¶
type OpenIdUserPropertyProtocolMapper struct { Id string Name string RealmId string ClientId string ClientScopeId string AddToIdToken bool AddToAccessToken bool AddToUserInfo bool UserProperty string ClaimName string ClaimValueType string }
func (*OpenIdUserPropertyProtocolMapper) Validate ¶
func (mapper *OpenIdUserPropertyProtocolMapper) Validate(keycloakClient *KeycloakClient) error
type OpenidClient ¶
type OpenidClient struct { Id string `json:"id,omitempty"` ClientId string `json:"clientId"` RealmId string `json:"-"` Name string `json:"name"` Protocol string `json:"protocol"` // always openid-connect for this resource ClientAuthenticatorType string `json:"clientAuthenticatorType"` // always client-secret for now, don't have a need for JWT here ClientSecret string `json:"secret,omitempty"` Enabled bool `json:"enabled"` Description string `json:"description"` PublicClient bool `json:"publicClient"` BearerOnly bool `json:"bearerOnly"` StandardFlowEnabled bool `json:"standardFlowEnabled"` ImplicitFlowEnabled bool `json:"implicitFlowEnabled"` DirectAccessGrantsEnabled bool `json:"directAccessGrantsEnabled"` ServiceAccountsEnabled bool `json:"serviceAccountsEnabled"` AuthorizationServicesEnabled bool `json:"authorizationServicesEnabled"` ValidRedirectUris []string `json:"redirectUris"` WebOrigins []string `json:"webOrigins"` AdminUrl string `json:"adminUrl"` BaseUrl string `json:"baseUrl"` RootUrl *string `json:"rootUrl,omitempty"` FullScopeAllowed bool `json:"fullScopeAllowed"` Attributes OpenidClientAttributes `json:"attributes"` AuthorizationSettings *OpenidClientAuthorizationSettings `json:"authorizationSettings,omitempty"` ConsentRequired bool `json:"consentRequired"` AuthenticationFlowBindingOverrides OpenidAuthenticationFlowBindingOverrides `json:"authenticationFlowBindingOverrides,omitempty"` }
type OpenidClientAttributes ¶
type OpenidClientAttributes struct { PkceCodeChallengeMethod string `json:"pkce.code.challenge.method"` ExcludeSessionStateFromAuthResponse KeycloakBoolQuoted `json:"exclude.session.state.from.auth.response"` AccessTokenLifespan string `json:"access.token.lifespan"` LoginTheme string `json:"login_theme"` ClientOfflineSessionIdleTimeout string `json:"client.offline.session.idle.timeout,omitempty"` ClientOfflineSessionMaxLifespan string `json:"client.offline.session.max.lifespan,omitempty"` ClientSessionIdleTimeout string `json:"client.session.idle.timeout,omitempty"` ClientSessionMaxLifespan string `json:"client.session.max.lifespan,omitempty"` }
type OpenidClientAuthorizationAggregatePolicy ¶
type OpenidClientAuthorizationAggregatePolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Policies []string `json:"policies"` Type string `json:"type"` Description string `json:"description"` }
type OpenidClientAuthorizationClientPolicy ¶
type OpenidClientAuthorizationClientPolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` Clients []string `json:"clients"` Description string `json:"description"` }
type OpenidClientAuthorizationGroupPolicy ¶
type OpenidClientAuthorizationGroupPolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` GroupsClaim string `json:"groupsClaim"` Groups []OpenidClientAuthorizationGroup `json:"groups,omitempty"` Description string `json:"description"` }
type OpenidClientAuthorizationJSPolicy ¶
type OpenidClientAuthorizationJSPolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` Code string `json:"code"` Description string `json:"description"` }
type OpenidClientAuthorizationPermission ¶
type OpenidClientAuthorizationPermission struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` Description string `json:"description"` DecisionStrategy string `json:"decisionStrategy"` Policies []string `json:"policies"` Resources []string `json:"resources"` Scopes []string `json:"scopes"` Type string `json:"type"` }
type OpenidClientAuthorizationPolicy ¶
type OpenidClientAuthorizationPolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` Owner string `json:"owner"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Policies []string `json:"policies"` Resources []string `json:"resources"` Scopes []string `json:"scopes"` Type string `json:"type"` }
type OpenidClientAuthorizationResource ¶
type OpenidClientAuthorizationResource struct { ResourceServerId string `json:"-"` RealmId string `json:"-"` Id string `json:"_id,omitempty"` DisplayName string `json:"displayName"` Name string `json:"name"` Uris []string `json:"uris"` IconUri string `json:"icon_uri"` OwnerManagedAccess bool `json:"ownerManagedAccess"` Scopes []OpenidClientAuthorizationScope `json:"scopes"` Type string `json:"type"` Attributes map[string][]string `json:"attributes"` }
type OpenidClientAuthorizationRolePolicy ¶
type OpenidClientAuthorizationRolePolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` Roles []OpenidClientAuthorizationRole `json:"roles,omitempty"` Description string `json:"description"` }
type OpenidClientAuthorizationTimePolicy ¶
type OpenidClientAuthorizationTimePolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` NotBefore string `json:"notBefore"` NotOnOrAfter string `json:"notOnOrAfter"` DayMonth string `json:"dayMonth"` DayMonthEnd string `json:"dayMonthEnd"` Month string `json:"month"` MonthEnd string `json:"monthEnd"` Year string `json:"year"` YearEnd string `json:"yearEnd"` Hour string `json:"hour"` HourEnd string `json:"hourEnd"` Minute string `json:"minute"` MinuteEnd string `json:"minuteEnd"` Description string `json:"description"` }
type OpenidClientAuthorizationUserPolicy ¶
type OpenidClientAuthorizationUserPolicy struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ResourceServerId string `json:"-"` Name string `json:"name"` DecisionStrategy string `json:"decisionStrategy"` Logic string `json:"logic"` Type string `json:"type"` Users []string `json:"users"` Description string `json:"description"` }
type OpenidClientPermissions ¶
type OpenidClientPermissionsInput ¶
type OpenidClientPermissionsInput struct {
Enabled bool `json:"enabled"`
}
type OpenidClientRole ¶
type OpenidClientScope ¶
type OpenidClientScope struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` Name string `json:"name"` Description string `json:"description"` Protocol string `json:"protocol"` Attributes struct { DisplayOnConsentScreen KeycloakBoolQuoted `json:"display.on.consent.screen"` // boolean in string form ConsentScreenText string `json:"consent.screen.text"` GuiOrder string `json:"gui.order"` IncludeInTokenScope string `json:"include.in.token.scope"` // boolean in string form but can be null/empty } `json:"attributes"` }
type OpenidClientScopeFilterFunc ¶
type OpenidClientScopeFilterFunc func(*OpenidClientScope) bool
type OpenidClientSecret ¶
type OpenidClientServiceAccountRole ¶
type OpenidClientServiceAccountRole struct { Id string `json:"id"` RealmId string `json:"-"` ServiceAccountUserId string `json:"-"` Name string `json:"name,omitempty"` ClientRole bool `json:"clientRole"` Composite bool `json:"composite"` ContainerId string `json:"containerId"` Description string `json:"description"` }
type OpenidClientWithGenericClientProtocolMappers ¶
type OpenidClientWithGenericClientProtocolMappers struct { OpenidClient ProtocolMappers []*GenericClientProtocolMapper }
type PasswordCredentials ¶
type ProviderType ¶
type Realm ¶
type Realm struct { Id string `json:"id,omitempty"` Realm string `json:"realm"` Enabled bool `json:"enabled"` DisplayName string `json:"displayName"` DisplayNameHtml string `json:"displayNameHtml"` UserManagedAccess bool `json:"userManagedAccessAllowed"` // Login Config RegistrationAllowed bool `json:"registrationAllowed"` RegistrationEmailAsUsername bool `json:"registrationEmailAsUsername"` EditUsernameAllowed bool `json:"editUsernameAllowed"` ResetPasswordAllowed bool `json:"resetPasswordAllowed"` RememberMe bool `json:"rememberMe"` VerifyEmail bool `json:"verifyEmail"` LoginWithEmailAllowed bool `json:"loginWithEmailAllowed"` DuplicateEmailsAllowed bool `json:"duplicateEmailsAllowed"` SslRequired string `json:"sslRequired,omitempty"` //SMTP Server SmtpServer SmtpServer `json:"smtpServer"` // Themes LoginTheme string `json:"loginTheme,omitempty"` AccountTheme string `json:"accountTheme,omitempty"` AdminTheme string `json:"adminTheme,omitempty"` EmailTheme string `json:"emailTheme,omitempty"` // Tokens DefaultSignatureAlgorithm string `json:"defaultSignatureAlgorithm"` RevokeRefreshToken bool `json:"revokeRefreshToken"` RefreshTokenMaxReuse int `json:"refreshTokenMaxReuse"` SsoSessionIdleTimeout int `json:"ssoSessionIdleTimeout,omitempty"` SsoSessionMaxLifespan int `json:"ssoSessionMaxLifespan,omitempty"` SsoSessionIdleTimeoutRememberMe int `json:"ssoSessionIdleTimeoutRememberMe,omitempty"` SsoSessionMaxLifespanRememberMe int `json:"ssoSessionMaxLifespanRememberMe,omitempty"` OfflineSessionIdleTimeout int `json:"offlineSessionIdleTimeout,omitempty"` OfflineSessionMaxLifespan int `json:"offlineSessionMaxLifespan,omitempty"` OfflineSessionMaxLifespanEnabled bool `json:"offlineSessionMaxLifespanEnabled,omitempty"` AccessTokenLifespan int `json:"accessTokenLifespan,omitempty"` AccessTokenLifespanForImplicitFlow int `json:"accessTokenLifespanForImplicitFlow,omitempty"` AccessCodeLifespan int `json:"accessCodeLifespan,omitempty"` AccessCodeLifespanLogin int `json:"accessCodeLifespanLogin,omitempty"` AccessCodeLifespanUserAction int `json:"accessCodeLifespanUserAction,omitempty"` ActionTokenGeneratedByUserLifespan int `json:"actionTokenGeneratedByUserLifespan,omitempty"` ActionTokenGeneratedByAdminLifespan int `json:"actionTokenGeneratedByAdminLifespan,omitempty"` //internationalization InternationalizationEnabled bool `json:"internationalizationEnabled"` SupportLocales []string `json:"supportedLocales"` DefaultLocale string `json:"defaultLocale"` //extra attributes of a realm Attributes map[string]interface{} `json:"attributes"` // client-scope mapping defaults DefaultDefaultClientScopes []string `json:"defaultDefaultClientScopes,omitempty"` DefaultOptionalClientScopes []string `json:"defaultOptionalClientScopes,omitempty"` DefaultRoles []string `json:"defaultRoles,omitempty"` BrowserSecurityHeaders BrowserSecurityHeaders `json:"browserSecurityHeaders"` BruteForceProtected bool `json:"bruteForceProtected"` PermanentLockout bool `json:"permanentLockout"` FailureFactor int `json:"failureFactor"` //Max Login Failures WaitIncrementSeconds int `json:"waitIncrementSeconds"` QuickLoginCheckMilliSeconds int `json:"quickLoginCheckMilliSeconds"` MinimumQuickLoginWaitSeconds int `json:"minimumQuickLoginWaitSeconds"` MaxFailureWaitSeconds int `json:"maxFailureWaitSeconds"` //Max Wait MaxDeltaTimeSeconds int `json:"maxDeltaTimeSeconds"` //Failure Reset Time PasswordPolicy string `json:"passwordPolicy"` //flow bindings BrowserFlow string `json:"browserFlow,omitempty"` RegistrationFlow string `json:"registrationFlow,omitempty"` DirectGrantFlow string `json:"directGrantFlow,omitempty"` ResetCredentialsFlow string `json:"resetCredentialsFlow,omitempty"` ClientAuthenticationFlow string `json:"clientAuthenticationFlow,omitempty"` DockerAuthenticationFlow string `json:"dockerAuthenticationFlow,omitempty"` // WebAuthn WebAuthnPolicyAcceptableAaguids []string `json:"webAuthnPolicyAcceptableAaguids"` WebAuthnPolicyAttestationConveyancePreference string `json:"webAuthnPolicyAttestationConveyancePreference"` WebAuthnPolicyAuthenticatorAttachment string `json:"webAuthnPolicyAuthenticatorAttachment"` WebAuthnPolicyAvoidSameAuthenticatorRegister bool `json:"webAuthnPolicyAvoidSameAuthenticatorRegister"` WebAuthnPolicyCreateTimeout int `json:"webAuthnPolicyCreateTimeout"` WebAuthnPolicyRequireResidentKey string `json:"webAuthnPolicyRequireResidentKey"` WebAuthnPolicyRpEntityName string `json:"webAuthnPolicyRpEntityName"` WebAuthnPolicyRpId string `json:"webAuthnPolicyRpId"` WebAuthnPolicySignatureAlgorithms []string `json:"webAuthnPolicySignatureAlgorithms"` WebAuthnPolicyUserVerificationRequirement string `json:"webAuthnPolicyUserVerificationRequirement"` // WebAuthn Passwordless WebAuthnPolicyPasswordlessAcceptableAaguids []string `json:"webAuthnPolicyPasswordlessAcceptableAaguids"` WebAuthnPolicyPasswordlessAttestationConveyancePreference string `json:"webAuthnPolicyPasswordlessAttestationConveyancePreference"` WebAuthnPolicyPasswordlessAuthenticatorAttachment string `json:"webAuthnPolicyPasswordlessAuthenticatorAttachment"` WebAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister bool `json:"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister"` WebAuthnPolicyPasswordlessCreateTimeout int `json:"webAuthnPolicyPasswordlessCreateTimeout"` WebAuthnPolicyPasswordlessRequireResidentKey string `json:"webAuthnPolicyPasswordlessRequireResidentKey"` WebAuthnPolicyPasswordlessRpEntityName string `json:"webAuthnPolicyPasswordlessRpEntityName"` WebAuthnPolicyPasswordlessRpId string `json:"webAuthnPolicyPasswordlessRpId"` WebAuthnPolicyPasswordlessSignatureAlgorithms []string `json:"webAuthnPolicyPasswordlessSignatureAlgorithms"` WebAuthnPolicyPasswordlessUserVerificationRequirement string `json:"webAuthnPolicyPasswordlessUserVerificationRequirement"` }
type RealmEventsConfig ¶
type RealmEventsConfig struct { AdminEventsDetailsEnabled bool `json:"adminEventsDetailsEnabled"` AdminEventsEnabled bool `json:"adminEventsEnabled"` EnabledEventTypes []string `json:"enabledEventTypes"` EventsEnabled bool `json:"eventsEnabled"` EventsExpiration int `json:"eventsExpiration"` EventsListeners []string `json:"eventsListeners,omitempty"` }
type RequiredAction ¶
type RequiredAction struct { Id string `json:"-"` RealmId string `json:"-"` Alias string `json:"alias"` Name string `json:"name"` ProviderId string `json:"providerId"` Enabled bool `json:"enabled"` DefaultAction bool `json:"defaultAction"` Priority int `json:"priority"` Config map[string][]string `json:"config"` }
type Role ¶
type Role struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` ClientId string `json:"-"` RoleId string `json:"-"` Name string `json:"name"` Description string `json:"description"` ClientRole bool `json:"clientRole"` ContainerId string `json:"containerId"` Composite bool `json:"composite"` //extra attributes of a role Attributes map[string][]string `json:"attributes"` }
type RoleMapping ¶
type RoleMapping struct { ClientMappings map[string]*ClientRoleMapping `json:"clientMappings"` RealmMappings []*Role `json:"realmMappings"` }
struct for the MappingRepresentation https://www.keycloak.org/docs-api/8.0/rest-api/index.html#_mappingsrepresentation
type SamlClient ¶
type SamlClient struct { Id string `json:"id,omitempty"` ClientId string `json:"clientId"` RealmId string `json:"-"` Name string `json:"name"` Protocol string `json:"protocol"` // always saml for this resource ClientAuthenticatorType string `json:"clientAuthenticatorType"` // always client-secret Enabled bool `json:"enabled"` Description string `json:"description"` FrontChannelLogout bool `json:"frontchannelLogout"` RootUrl string `json:"rootUrl"` ValidRedirectUris []string `json:"redirectUris"` BaseUrl string `json:"baseUrl"` MasterSamlProcessingUrl string `json:"adminUrl"` FullScopeAllowed bool `json:"fullScopeAllowed"` Attributes *SamlClientAttributes `json:"attributes"` AuthenticationFlowBindingOverrides SamlAuthenticationFlowBindingOverrides `json:"authenticationFlowBindingOverrides,omitempty"` }
type SamlClientAttributes ¶
type SamlClientAttributes struct { IncludeAuthnStatement *string `json:"saml.authnstatement"` SignDocuments *string `json:"saml.server.signature"` SignAssertions *string `json:"saml.assertion.signature"` EncryptAssertions *string `json:"saml.encrypt"` ClientSignatureRequired *string `json:"saml.client.signature"` ForcePostBinding *string `json:"saml.force.post.binding"` ForceNameIdFormat *string `json:"saml_force_name_id_format"` // attributes above are actually booleans, but the Keycloak API expects strings SignatureAlgorithm string `json:"saml.signature.algorithm"` NameIdFormat string `json:"saml_name_id_format"` SigningCertificate *string `json:"saml.signing.certificate,omitempty"` SigningPrivateKey *string `json:"saml.signing.private.key"` EncryptionCertificate *string `json:"saml.encryption.certificate"` IDPInitiatedSSOURLName string `json:"saml_idp_initiated_sso_url_name"` IDPInitiatedSSORelayState string `json:"saml_idp_initiated_sso_relay_state"` AssertionConsumerPostURL string `json:"saml_assertion_consumer_url_post"` AssertionConsumerRedirectURL string `json:"saml_assertion_consumer_url_redirect"` LogoutServicePostBindingURL string `json:"saml_single_logout_service_url_post"` LogoutServiceRedirectBindingURL string `json:"saml_single_logout_service_url_redirect"` }
type SamlClientScope ¶
type SamlClientScope struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` Name string `json:"name"` Description string `json:"description"` Protocol string `json:"protocol"` Attributes struct { DisplayOnConsentScreen KeycloakBoolQuoted `json:"display.on.consent.screen"` // boolean in string form ConsentScreenText string `json:"consent.screen.text"` GuiOrder string `json:"gui.order"` } `json:"attributes"` }
type SamlClientScopeFilterFunc ¶
type SamlClientScopeFilterFunc func(*SamlClientScope) bool
type ServerInfo ¶
type ServerInfo struct { SystemInfo SystemInfo `json:"systemInfo"` ComponentTypes map[string][]ComponentType `json:"componentTypes"` ProviderTypes map[string]ProviderType `json:"providers"` Themes map[string][]Theme `json:"themes"` }
func (*ServerInfo) ComponentTypeIsInstalled ¶
func (serverInfo *ServerInfo) ComponentTypeIsInstalled(componentType, componentTypeId string) bool
func (*ServerInfo) ThemeIsInstalled ¶
func (serverInfo *ServerInfo) ThemeIsInstalled(t, themeName string) bool
type SmtpServer ¶
type SmtpServer struct { StartTls KeycloakBoolQuoted `json:"starttls,omitempty"` Auth KeycloakBoolQuoted `json:"auth,omitempty"` Port string `json:"port,omitempty"` Host string `json:"host,omitempty"` ReplyTo string `json:"replyTo,omitempty"` ReplyToDisplayName string `json:"replyToDisplayName,omitempty"` From string `json:"from,omitempty"` FromDisplayName string `json:"fromDisplayName,omitempty"` EnvelopeFrom string `json:"envelopeFrom,omitempty"` Ssl KeycloakBoolQuoted `json:"ssl,omitempty"` User string `json:"user,omitempty"` Password string `json:"password,omitempty"` }
type SystemInfo ¶
type SystemInfo struct {
ServerVersion string `json:"version"`
}
type User ¶
type User struct { Id string `json:"id,omitempty"` RealmId string `json:"-"` Username string `json:"username"` Email string `json:"email"` EmailVerified bool `json:"emailVerified"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Enabled bool `json:"enabled"` Attributes map[string][]string `json:"attributes"` FederatedIdentities FederatedIdentities `json:"federatedIdentities"` }
type UsersInRole ¶
type UsersPermissions ¶
type UsersPermissionsInput ¶
type UsersPermissionsInput struct {
Enabled bool `json:"enabled"`
}
Source Files
¶
- authentication_bindings.go
- authentication_execution.go
- authentication_execution_config.go
- authentication_flow.go
- authentication_subflow.go
- component.go
- custom_user_federation.go
- default_roles.go
- error.go
- generic_client.go
- generic_client_description_converter.go
- generic_client_protocol_mapper.go
- group.go
- group_role_mappings.go
- identity_provider.go
- identity_provider_mapper.go
- identity_provider_permissions.go
- keycloak_client.go
- ldap_full_name_mapper.go
- ldap_group_mapper.go
- ldap_hardcoded_group_mapper.go
- ldap_hardcoded_role_mapper.go
- ldap_msad_lds_user_account_control_mapper.go
- ldap_msad_user_account_control_mapper.go
- ldap_role_mapper.go
- ldap_user_attribute_mapper.go
- ldap_user_federation.go
- openid_audience_protocol_mapper.go
- openid_client.go
- openid_client_authorization_aggregate_policy.go
- openid_client_authorization_client_policy.go
- openid_client_authorization_group_policy.go
- openid_client_authorization_js_policy.go
- openid_client_authorization_permission.go
- openid_client_authorization_policy.go
- openid_client_authorization_resource.go
- openid_client_authorization_role_policy.go
- openid_client_authorization_scope.go
- openid_client_authorization_time_policy.go
- openid_client_authorization_user_policy.go
- openid_client_permissions.go
- openid_client_scope.go
- openid_client_service_account_realm_role.go
- openid_client_service_account_role.go
- openid_full_name_protocol_mapper.go
- openid_group_membership_protocol_mapper.go
- openid_hardcoded_claim_protocol_mapper.go
- openid_hardcoded_role_protocol_mapper.go
- openid_script_protocol_mapper.go
- openid_user_attribute_protocol_mapper.go
- openid_user_client_role_protocol_mapper.go
- openid_user_property_protocol_mapper.go
- openid_user_realm_role_protocol_mapper.go
- openid_user_session_note_protocol_mapper.go
- protocol_mapper.go
- realm.go
- realm_events.go
- required_action.go
- role.go
- role_mapping_types.go
- role_scope_mapping.go
- saml_client.go
- saml_client_scope.go
- saml_script_protocol_mapper.go
- saml_user_attribute_protocol_mapper.go
- saml_user_property_protocol_mapper.go
- server_info.go
- user.go
- user_role_mappings.go
- users_permissions.go
- util.go
- version.go