DittoAuthenticationStatus

public struct DittoAuthenticationStatus : Equatable

Provides info about the authentication status.

  • Returns true if authenticated, otherwise returns false.

    Declaration

    Swift

    public var isAuthenticated: Bool
  • If authenticated, returns the user ID if one was provided by the authentication service. Otherwise returns nil.

    Declaration

    Swift

    public var userID: String?