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

- Packages that use UserProfileContext
  Package | Description
  --- | ---
  org.keycloak.userprofile |
  org.keycloak.userprofile.config |
  org.keycloak.userprofile.legacy |

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

    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` | UserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes, UserModel user)` Creates a new `UserProfile` instance for a given `context` and `attributes` for update purposes.
    `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.

    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)`
    `UserProfileMetadata(UserProfileContext context)`

  - ### 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.
    `protected Attributes` | DeclarativeUserProfileProvider.`createAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata metadata)`
    `static boolean` | UPConfigUtils.`isRoleForContext(UserProfileContext context, List<String> roles)` Check if roles configuration contains role given current context.

    Method parameters in org.keycloak.userprofile.config with type arguments of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `protected DeclarativeUserProfileProvider` | DeclarativeUserProfileProvider.`create(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> metadataRegistry)`

    Constructors in org.keycloak.userprofile.config with parameters of type UserProfileContext
    Constructor and Description
    `DeclarativeAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session)`

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

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

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

    Methods in org.keycloak.userprofile.legacy with parameters of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes)`
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, Map<String,?> attributes, UserModel user)`
    `UserProfile` | AbstractUserProfileProvider.`create(UserProfileContext context, UserModel user)`
    `protected Attributes` | AbstractUserProfileProvider.`createAttributes(UserProfileContext context, Map<String,?> attributes, UserModel user, UserProfileMetadata metadata)`

    Method parameters in org.keycloak.userprofile.legacy with type arguments of type UserProfileContext
    Modifier and Type | Method and Description
    --- | ---
    `protected DefaultUserProfileProvider` | DefaultUserProfileProvider.`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`.

    Constructor parameters in org.keycloak.userprofile.legacy with type arguments of type UserProfileContext
    Constructor and Description
    `AbstractUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> contextualMetadataRegistry)`
    `DefaultUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> validators)`

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