public class CodeChallenge extends Identifier
Related specifications:
DEFAULT_BYTE_LENGTH| Modifier and Type | Method and Description |
|---|---|
static CodeChallenge |
compute(CodeChallengeMethod method,
CodeVerifier codeVerifier)
Computes the code challenge using the specified method and verifier.
|
static CodeChallenge |
parse(String value)
Parses a code challenge from the specified string.
|
compareTo, equals, getValue, hashCode, toJSONString, toStringpublic 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.public static CodeChallenge parse(String value) throws ParseException
value - The code challenge value.ParseExceptionCopyright © 2017 Connect2id Ltd.. All rights reserved.