Serializable
, Comparable<Identifier>
, net.minidev.json.JSONAware
@Immutable public final class CodeChallengeMethod extends Identifier
Related specifications:
Modifier and Type | Field | Description |
---|---|---|
static CodeChallengeMethod |
PLAIN |
Plain code challenge method.
|
static CodeChallengeMethod |
S256 |
SHA-256 code challenge method.
|
DEFAULT_BYTE_LENGTH
Constructor | Description |
---|---|
CodeChallengeMethod(String value) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object object) |
|
static CodeChallengeMethod |
getDefault() |
Gets the default code challenge method.
|
static CodeChallengeMethod |
parse(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(String value)
value
- The code challenge method value. Must not be
null
or empty string.public static CodeChallengeMethod getDefault()
PLAIN
public static CodeChallengeMethod parse(String value)
value
- The code challenge method value. Must not be
null
or empty string.public boolean equals(Object object)
equals
in class Identifier
Copyright © 2018 Connect2id Ltd.. All rights reserved.