ProviderConfiguration

public struct ProviderConfiguration : Equatable, Sendable

A single provider client configuration required by consumers to support the provider OAuth flow.

This is the decoded form of the opaque, base-64 encoded configuration data returned by the service; the SDK decodes it into one ProviderConfiguration per supported provider.

  • Human-readable provider name (e.g. “google”).

    Declaration

    Swift

    public let name: String
  • The kind of virtual presence this provider backs (e.g. .email).

    Declaration

    Swift

    public let providerType: ProviderType
  • OAuth client id.

    Declaration

    Swift

    public let clientId: String
  • Declaration

    Swift

    public init(name: String, providerType: ProviderType, clientId: String)