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
IdpClient
object from aResponse
.Throws
if the response cannot be parsed.Declaration
Swift
public init(response: Response) throws
Parameters
response
The
Response
object to use for initialization.