AuthenticationEvent

@frozen
public enum AuthenticationEvent : Equatable, CustomStringConvertible, CustomDebugStringConvertible

A value representing an event of the AuthenticationService.

Cases

  • Indicates that the authentication state changed.

    The associated value is the new authentication state.

    Declaration

    Swift

    case change(state: AuthenticationState)
  • Indicates that an authentication process failed.

    The associated value indicates the reason of the failure.

    Declaration

    Swift

    case failure(reason: WebcomError)

API

CustomStringConvertible Protocol

  • Declaration

    Swift

    public var description: String { get }

CustomDebugStringConvertible Protocol

  • Declaration

    Swift

    public var debugDescription: String { get }