IDPDirectoryKKApps

public struct IDPDirectoryKKApps

All relevant constraints needed for a successful challenge exchange

  • jwt

    JWT containing the directory KK apps data

    Declaration

    Swift

    public let jwt: JWT
  • Initialize IDPDirectoryKKApps with a JWT string

    Throws

    If JWT parsing fails

    Declaration

    Swift

    public init(jwt: String) throws

    Parameters

    jwt

    JWT string to parse

  • Initialize response from preformatted JWT

    Declaration

    Swift

    public init(jwt: JWT)

    Parameters

    jwt

    original challenge

  • Extract claims from the JWT

    Throws

    If payload decoding fails

    Declaration

    Swift

    public func claims() throws -> KKAppDirectory

    Return Value

    KKAppDirectory claims from the JWT payload