Contents

configuration(openIDConfigurationURL:clientID:issuer:completion:)

Creates a login configuration using the OpenID configuration.

Declaration

class func configuration(openIDConfigurationURL: URL, clientID: String, issuer: String?, completion: @escaping  @Sendable (ASAuthorizationProviderExtensionLoginConfiguration?, (any Error)?) -> Void)
class func configuration(openIDConfigurationURL: URL, clientID: String, issuer: String?) async throws -> ASAuthorizationProviderExtensionLoginConfiguration

Parameters

  • openIDConfigurationURL:

    The base URL to retrieve the /.well-known/openid-configuration file.

  • clientID:

    The client_id for the Apple platform SSO login at the identity provider.

  • issuer:

    The issuer for the requests that validate responses.

  • completion:

    The completion block the system calls upon completion or error.

See Also

Creating the configuration