AuthenticationAccount

public struct AuthenticationAccount : Codable, Equatable, Sendable

A value containing information about the account of the current user, as stored by the back-end.

Stored Properties

  • The creation date of the user account.

    Declaration

    Swift

    public let creationDate: Date
  • The identities attached to the account.

    For each provider, the value contains the identifiers of the user for that provider.

    Declaration

    Swift

    public let identities: [AuthenticationProvider : [String]]

Initializers

  • Declaration

    Swift

    public init(from decoder: any Decoder) throws

Encodable Protocol

  • Declaration

    Swift

    public func encode(to encoder: any Encoder) throws