public class CodeChallenge extends Identifier
Related specifications:
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
CodeChallenge(String value)
Creates a new code challenge with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeChallenge |
compute(CodeChallengeMethod method,
CodeVerifier codeVerifier)
Computes the code challenge using the specified method and verifier.
|
compareTo, equals, getValue, hashCode, toJSONString, toStringpublic CodeChallenge(String value)
value - The code challenge value. Must not be null or
empty string.public static CodeChallenge compute(CodeChallengeMethod method, CodeVerifier codeVerifier)
method - The code challenge method. Must be supported and
not null.codeVerifier - The code verifier. Must not be null.Copyright © 2016 Connect2id Ltd.. All Rights Reserved.