IDPToken
public struct IDPToken : Codable
extension IDPToken: Equatable
IDPToken
[REQ:gemSpec_IDP_Frontend:A_21326#2,A_21327#2] Structure holding ACCESS_TOKEN and ID_TOKEN information
-
Access token
Declaration
Swift
public let accessToken: String
-
Expiry date
Declaration
Swift
public let expires: Date
-
ID token
Declaration
Swift
public let idToken: String
-
SSO token
Declaration
Swift
public let ssoToken: String?
-
Token type
Declaration
Swift
public let tokenType: String
-
Redirect the token is valid for. Must be the same for initial authentication and SSO.
Declaration
Swift
public let redirect: String
-
(Temporary) property to transport the information whether the token was specifically requested for a PKV and by using Fast Track
Declaration
Swift
public let isPkvExtAuthFlowInitiated: Bool
-
Declaration
Swift
public init( accessToken: String, expires: Date, idToken: String, ssoToken: String? = nil, tokenType: String = "Bearer", redirect: String, isPkvExtAuthFlowInitiated: Bool = false )
-
Declaration
Swift
public func idTokenPayload() throws -> TokenPayload.IDTokenPayload
-
Declaration
Swift
public init(from decoder: Decoder) throws