Context

public enum Context : Equatable

A value representing the context for an authentication process.

Cases

  • new

    Indicates to run the authentication process with a new context.

    If a user is currently authenticated, his/her identity will be forgotten before starting, whatever the authentication process succeeds or fails.

    Declaration

    Swift

    case new
  • Indicates to run the authentication process using the current context.

    If a user is currently authenticated and the process succeeds, an additional identity will be added to the authentication token.

    Declaration

    Swift

    case current