## Uses of Class
org.keycloak.userprofile.UserProfileContext

- Packages that use UserProfileContext
  Package | Description
  --- | ---
  org.keycloak.authentication.authenticators.broker.util |
  org.keycloak.authentication.requiredactions.util |
  org.keycloak.userprofile |
  org.keycloak.userprofile.config |

- - ### Uses of UserProfileContext in org.keycloak.authentication.authenticators.broker.util

    Methods in org.keycloak.authentication.authenticators.broker.util that return UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `UserProfileContext` | SerializedBrokeredIdentityContext.`getUserProfileContext()`

  - ### Uses of UserProfileContext in org.keycloak.authentication.requiredactions.util

    Methods in org.keycloak.authentication.requiredactions.util that return UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `UserProfileContext` | UserUpdateProfileContext.`getUserProfileContext()`
    `UserProfileContext` | UpdateProfileContext.`getUserProfileContext()`

  - ### Uses of UserProfileContext in org.keycloak.userprofile

    Fields in org.keycloak.userprofile declared as UserProfileContext
    Modifier and Type | Field and Description
    --- | ---
    `protected UserProfileContext` | DefaultAttributes.`context`

    Fields in org.keycloak.userprofile with type parameters of type UserProfileContext
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<UserProfileContext,UserProfileMetadata>` | AbstractUserProfileProvider.`contextualMetadataRegistry`

    Methods in org.keycloak.userprofile that return UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `UserProfileContext` | UserProfileMetadata.`getContext()`
    `UserProfileContext` | AttributeContext.`getContext()`
    `static UserProfileContext` | UserProfileContext.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static UserProfileContext[]` | UserProfileContext.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.keycloak.userprofile with parameters of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `UserProfile` | UserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes)` Creates a new `UserProfile` instance for a given `context` and `attributes` for validation purposes.
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes)`
    `UserProfile` | UserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes, UserModel user)` Creates a new `UserProfile` instance for a given `context` and `attributes` for update purposes.
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes, UserModel user)`
    `UserProfile` | UserProfileProvider.`create(UserProfileContext context, UserModel user)` Creates a new `UserProfile` instance only for validation purposes to check whether its attributes are in conformance with the given `context` and profile configuration.
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, UserModel user)`
    `protected Attributes` | DeclarativeUserProfileProvider.`createAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata metadata)`
    `protected Attributes` | AbstractUserProfileProvider.`createAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata metadata)`

    Method parameters in org.keycloak.userprofile with type arguments of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `protected UserProfileProvider` | DeclarativeUserProfileProvider.`create(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> metadataRegistry)`
    `protected abstract U` | AbstractUserProfileProvider.`create(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> metadataRegistry)` Subclasses can override this method to create their instances of `UserProfileProvider`.

    Constructors in org.keycloak.userprofile with parameters of type UserProfileContext
    Constructor and Description
    `AttributeContext(UserProfileContext context, KeycloakSession session, Map.Entry<String,List<String>> attribute, UserModel user, AttributeMetadata metadata)`
    `DefaultAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session)`
    `LegacyAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session)`
    `UserProfileMetadata(UserProfileContext context)`

    Constructor parameters in org.keycloak.userprofile with type arguments of type UserProfileContext
    Constructor and Description
    `AbstractUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> contextualMetadataRegistry)`
    `DeclarativeUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> metadataRegistry, String defaultRawConfig)`

  - ### Uses of UserProfileContext in org.keycloak.userprofile.config

    Methods in org.keycloak.userprofile.config with parameters of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | UPConfigUtils.`canBeAuthFlowContext(UserProfileContext context)` Check if context CAN BE part of the AuthenticationFlow.
    `static boolean` | UPConfigUtils.`isRoleForContext(UserProfileContext context, Set<String> roles)` Check if roles configuration contains role given current context.

Copyright © 2021 JBoss by Red Hat. All rights reserved.