Interface ClientSessionContext

All Known Implementing Classes:
DefaultClientSessionContext

public interface ClientSessionContext
Request-scoped context object
Author:
Marek Posolda
  • Method Details

    • getClientSession

    • getClientScopeIds

      Set<String> getClientScopeIds()
    • getClientScopesStream

      Stream<ClientScopeModel> getClientScopesStream()
      Returns client scopes as a stream.
      Returns:
      Stream of client scopes. Never returns null.
    • getRolesStream

      Stream<RoleModel> getRolesStream()
      Returns all roles including composite ones as a stream.
      Returns:
      Stream of RoleModel. Never returns null.
    • getProtocolMappersStream

      Stream<ProtocolMapperModel> getProtocolMappersStream()
      Returns protocol mappers as a stream.
      Returns:
      Stream of protocol mappers. Never returns null.
    • getScopeString

      String getScopeString()
    • getScopeString

      String getScopeString(boolean ignoreIncludeInTokenScope)
    • setAttribute

      void setAttribute(String name, Object value)
    • getAttribute

      <T> T getAttribute(String attribute, Class<T> clazz)
    • getAuthorizationRequestContext

      AuthorizationRequestContext getAuthorizationRequestContext()