-
- All Implemented Interfaces:
public final class PKCEHelper
Proof Key for Code Exchange (PKCE) by OAuth 2.0 public clients.
Where an OpenID Connect service provider has configured PKCE for authorization code-flow operations, generate a code verifier and code challenge.
For example:
<pre> {@code val codeVerifier = PKCE.generateCodeVerifier() val codeChallenge = PKCE.generateCodeChallenge(codeVerifier) print("SHA256 hash of codeVerifier: $codeChallenge") } </pre>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PKCEHelper.Companion
-
Constructor Summary
Constructors Constructor Description PKCEHelper()
-