Interface JWTToken

    • Method Detail

      • getToken

        @NotNull
        @NotNull String getToken()
        Returns the access token String value.
        Specified by:
        getToken in interface AuthMaterial
        Returns:
        The access token String value.
      • getCredentials

        @Nullable
        default @Nullable org.apache.hc.client5.http.auth.Credentials getCredentials()

        Provides Credentials for the authentication of a Session.
        This may validly return null for anonymous Sessions, or in case an authentication is superfluous, because some other means are used to authorize the Session.

        Specified by:
        getCredentials in interface AuthMaterial
        Returns:
        Credentials for the authentication of a Session.
      • getRawAuthHeader

        @Nullable
        default @Nullable String getRawAuthHeader()
        Returns the String value of an authorization header, that shall be used by a Session.
        Specified by:
        getRawAuthHeader in interface AuthMaterial
        Returns:
        The String value of an authorization header, that shall be used by a Session.