Interface TokenPrincipal

    • Method Detail

      • getRawToken

        String getRawToken()
        The token in its raw format.
        Returns:
        the token in its raw format.
      • getToken

        default org.keycloak.representations.AccessToken getToken()
        The AccessToken representation of getRawToken().
        Returns:
        the access token representation
      • getName

        default String getName()
        The name of the entity represented by the token.
        Specified by:
        getName in interface Principal
        Returns:
        the name of the principal