Pkce

public struct Pkce : 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 let codeVerifier: String
  • Declaration

    Swift

    public let codeChallenge: String
  • Declaration

    Swift

    public let codeChallengeMethod: String
  • Generates a new PKCE.

    Declaration

    Swift

    public static func generate() -> Pkce

    Return Value

    A new PKCE.