@Immutable public final class CodeChallengeMethod extends Identifier
Related specifications:
Modifier and Type | Field and Description |
---|---|
static CodeChallengeMethod |
PLAIN
Plain code challenge method.
|
static CodeChallengeMethod |
S256
SHA-256 code challenge method.
|
DEFAULT_BYTE_LENGTH
Constructor and Description |
---|
CodeChallengeMethod(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
static CodeChallengeMethod |
getDefault()
Gets the default code challenge method.
|
static CodeChallengeMethod |
parse(java.lang.String value)
Parses a code challenge method from the specified value.
|
compareTo, getValue, hashCode, toJSONString, toString
public static final CodeChallengeMethod PLAIN
public static final CodeChallengeMethod S256
public CodeChallengeMethod(java.lang.String value)
value
- The code challenge method value. Must not be
null
or empty string.public static CodeChallengeMethod getDefault()
PLAIN
public static CodeChallengeMethod parse(java.lang.String value)
value
- The code challenge method value. Must not be
null
or empty string.public boolean equals(java.lang.Object object)
equals
in class Identifier
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.