PKCECodePair

data class PKCECodePair(val codeChallenge: String, val codeVerifier: String, val method: String = "S256")

A data class representing the most recent PKCE code pair generated on this device. You may find this useful if you use a hybrid (frontend and backend) authentication flow, where you need to complete a PKCE flow on the backend

Constructors

Link copied to clipboard
constructor(codeChallenge: String, codeVerifier: String, method: String = "S256")

Properties

Link copied to clipboard

the challenge that was generated

Link copied to clipboard

the verifier of the challenge

Link copied to clipboard

a string identifying the encryption method used. This will always be "S256"