IdpClient
public struct IdpClient : Sendable
Represents the IdpClient struct. The IdpClient struct represents the client configuration for the IDP.
- property clientId: The client ID.
- property redirectUri: The redirect URI.
- property scopes: The scopes.
- property nonce: The nonce.
- property continueUrl: The continue URL.
-
Declaration
Swift
public var clientId: String? -
Declaration
Swift
public var redirectUri: String? -
Declaration
Swift
public var scopes: [String] -
Declaration
Swift
public var nonce: String? -
Declaration
Swift
public var continueUrl: String? -
Initializes an
IdpClientobject from aResponse.Throws
if the response cannot be parsed.Declaration
Swift
public init(response: Response) throwsParameters
responseThe
Responseobject to use for initialization. -
Declaration
Swift
@MainActor public static func getTopViewController() -> UIViewController?
View on GitHub