public interface PkceService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpectedCodeChallengeGenerated(String expectedCodeChallenge,
CodeChallengeMethod codeChallengeMethod,
String codeVerifier)
Checks if the expected code challenge is produced by applying the
given code challenge method to the given code verifier.
|
boolean |
isValidCode(String input)
Checks if the given string is a valid PKCE code challenge or PKCE code verifier.
|
boolean isValidCode(@Nonnull String input)
input - the string to check.boolean isExpectedCodeChallengeGenerated(@Nonnull String expectedCodeChallenge, @Nonnull CodeChallengeMethod codeChallengeMethod, @Nonnull String codeVerifier)
expectedCodeChallenge - the expected code challenge from applying the transformationcodeChallengeMethod - the transformation to apply to the code verifiercodeVerifier - the code verifierCopyright © 2020–2023 Atlassian. All rights reserved.