Kind

public enum Kind : String, Codable

The list of available Token types.

  • For non-HTTP or non-browser contexts this indicates a token intended to be set as an HTTP cookie.

    Warning

    If the user agent is a standard web browser or other HTTP native client, this type should not be used. Cookies should be set directly with the Set-Cookie HTTP header for processing by the user agent.

    Declaration

    Swift

    case httpCookie = "HTTP_COOKIE"
  • Indicates that the token is of type OAUTH.

    Declaration

    Swift

    case oauth = "OAUTH"
  • Indicates that the token is of type OAUTH2.

    Declaration

    Swift

    case oauth2 = "OAUTH2"
  • Indicates that the token is of type SAML 1.1.

    Declaration

    Swift

    case saml1_1 = "SAML1_1"
  • Indicates that the token is of type SAML 2.0.

    Declaration

    Swift

    case saml2 = "SAML2"
  • jwt

    Indicates that the token is of type JSON Web Token (JWT).

    Declaration

    Swift

    case jwt = "JWT"
  • Indicates that the token is an OpenID Connect “id_token”.

    Declaration

    Swift

    case openIDConnect = "OPENID_CONNECT"