IDPDirectoryKKApps
public struct IDPDirectoryKKApps
All relevant constraints needed for a successful challenge exchange
-
JWT containing the directory KK apps data
Declaration
Swift
public let jwt: JWT -
Initialize IDPDirectoryKKApps with a JWT string
Throws
If JWT parsing failsDeclaration
Swift
public init(jwt: String) throwsParameters
jwtJWT string to parse
-
Initialize response from preformatted JWT
Declaration
Swift
public init(jwt: JWT)Parameters
jwtoriginal challenge
-
Extract claims from the JWT
Throws
If payload decoding failsDeclaration
Swift
public func claims() throws -> KKAppDirectoryReturn Value
KKAppDirectory claims from the JWT payload
View on GitHub
IDPDirectoryKKApps Structure Reference