IDPExtAuth

public struct IDPExtAuth

Stores login information needed for external authentication (a.k.a. gID).

  • The user selected identifier of the application to use for the authentication.

    Declaration

    Swift

    public let kkAppId: String
  • OAuth parameter state of high entropy.

    Declaration

    Swift

    public let state: String
  • SHA256 hashed verifier code

    Declaration

    Swift

    public let codeChallenge: String
  • codeChallenge hashing method. Must be S256 to indicate SHA256 hashed value.

    Declaration

    Swift

    public let codeChallengeMethod: IDPCodeChallengeMode
  • OpenID parameter nonce of high entropy.

    Declaration

    Swift

    public let nonce: String
  • Authentication type

    Declaration

    Swift

    public let authType: AuthType
  • Authentication type stating the method of authentication

    See more

    Declaration

    Swift

    public enum AuthType
  • Initialize IDPExtAuth with authentication parameters

    Declaration

    Swift

    public init(
        kkAppId: String,
        state: String,
        codeChallenge: String,
        codeChallengeMethod: IDPCodeChallengeMode,
        nonce: String
    )

    Parameters

    kkAppId

    User selected identifier of the application

    state

    OAuth parameter state of high entropy

    codeChallenge

    SHA256 hashed verifier code

    codeChallengeMethod

    Code challenge hashing method

    nonce

    OpenID parameter nonce of high entropy