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 -> ASAuthorizationProviderExtensionLoginConfigurationParameters
- openIDConfigurationURL:
The base URL to retrieve the
/.well-known/openid-configurationfile. - clientID:
The
client_idfor the Apple platform SSO login at the identity provider. - issuer:
The
issuerfor the requests that validate responses. - completion:
The completion block the system calls upon completion or error.