Class AuthorizationDetails

  • All Implemented Interfaces:
    Serializable

    public class AuthorizationDetails
    extends Object
    implements Serializable
    The internal Keycloak representation of a Rich Authorization Request authorization_details object, together with some extra metadata to make it easier to work with this data in other parts of the codebase. The AuthorizationRequestSource is needed as OAuth scopes are also parsed into AuthorizationDetails to standardize the way authorization data is managed in Keycloak. Scopes parsed as AuthorizationDetails will need to be treated as normal OAuth scopes in places like TokenMappers and included in the "scopes" JWT claim as such.
    Author:
    Daniel Gozalo
    See Also:
    Serialized Form