Structures
The following structures are available globally.
-
Struct representing an authorization code.
- Property code: code used for authorization.
- Property codeVerifier: code verifier associated with the authorization code.
Declaration
Swift
public struct AuthCode : Codable, Sendable -
Represents the server response to a device authorization request (RFC 8628).
See moreDeclaration
Swift
public struct DeviceAuthorizationResponse : Decodable, Sendable
-
Parses a unified SDK configuration dictionary.
Wraps a
See more[String: Any]dictionary and provides typed accessors that throwJsonConfigErroron missing or incorrectly-typed fields.Declaration
Swift
public struct JsonConfigParser -
OidcOptions is a struct that holds additional parameters for OIDC login.
See moreDeclaration
Swift
public struct OidcOptions : Sendable -
Struct representing the OpenID Connect configuration.
See moreDeclaration
Swift
public struct OpenIdConfiguration : Codable, Sendable -
Struct for PKCE (Proof Key for Code Exchange).
- property codeVerifier: The code verifier for the PKCE.
- property codeChallenge: The code challenge for the PKCE.
- property codeChallengeMethod: The code challenge method for the PKCE.
Declaration
Swift
public struct Pkce : Sendable -
Struct representing an OIDC token.
See moreDeclaration
Swift
public struct Token : Codable, Sendableextension Token: CustomStringConvertible
View on GitHub
Structures Reference