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

- Packages that use AttributeContext
  Package | Description
  --- | ---
  org.keycloak.userprofile |

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

    Fields in org.keycloak.userprofile with type parameters of type AttributeContext
    Modifier and Type | Field and Description
    --- | ---
    `static Predicate<AttributeContext>` | AttributeMetadata.`ALWAYS_FALSE`
    `static Predicate<AttributeContext>` | AttributeMetadata.`ALWAYS_TRUE`

    Methods in org.keycloak.userprofile that return AttributeContext
    Modifier and Type | Method and Description
    --- | ---
    `protected AttributeContext` | DefaultAttributes.`createAttributeContext(AttributeMetadata metadata)`
    `AttributeContext` | UserProfileAttributeValidationContext.`getAttributeContext()`

    Methods in org.keycloak.userprofile with parameters of type AttributeContext
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | AttributeMetadata.`canEdit(AttributeContext context)`
    `boolean` | AttributeMetadata.`canView(AttributeContext context)`
    `boolean` | AttributeMetadata.`isReadOnly(AttributeContext context)`
    `boolean` | AttributeMetadata.`isRequired(AttributeContext context)` Check if attribute is required based on it's predicate, it is handled as required if predicate is null
    `boolean` | AttributeMetadata.`isSelected(AttributeContext context)`
    `ValidationContext` | AttributeValidatorMetadata.`validate(AttributeContext context)` Run validation for given AttributeContext.

    Method parameters in org.keycloak.userprofile with type arguments of type AttributeContext
    Modifier and Type | Method and Description
    --- | ---
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, List<AttributeValidatorMetadata> validator, Predicate<AttributeContext> selector, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> required, Predicate<AttributeContext> readAllowed)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, List<AttributeValidatorMetadata> validator, Predicate<AttributeContext> selector, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> required, Predicate<AttributeContext> readAllowed)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, List<AttributeValidatorMetadata> validator, Predicate<AttributeContext> selector, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> required, Predicate<AttributeContext> readAllowed)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, List<AttributeValidatorMetadata> validator, Predicate<AttributeContext> selector, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> required, Predicate<AttributeContext> readAllowed)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, Predicate<AttributeContext> writeAllowed, List<AttributeValidatorMetadata> validators)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> readAllowed, AttributeValidatorMetadata... validator)`
    `AttributeMetadata` | UserProfileMetadata.`addAttribute(String name, int guiOrder, Predicate<AttributeContext> writeAllowed, Predicate<AttributeContext> readAllowed, AttributeValidatorMetadata... validator)`

    Constructors in org.keycloak.userprofile with parameters of type AttributeContext
    Constructor and Description
    `UserProfileAttributeValidationContext(AttributeContext attributeContext)`

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