Serializable, Comparable<Identifier>, net.minidev.json.JSONAwarepublic class CodeChallenge extends Identifier
Related specifications:
DEFAULT_BYTE_LENGTH| Modifier and Type | Method | 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.ParseException - If parsing failed.Copyright © 2018 Connect2id Ltd.. All rights reserved.