@Deprecated public class TokenVerifier extends java.lang.Object implements Verifier
RESULT_INVALID, RESULT_MISSING, RESULT_STALE, RESULT_UNKNOWN, RESULT_UNSUPPORTED, RESULT_VALID
Constructor and Description |
---|
TokenVerifier(Reference authReference)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptBodyMethod()
Deprecated.
Indicates if the credentials are "Form-Encoded Body Parameter".
|
boolean |
isAcceptQueryMethod()
Deprecated.
Indicates if the credentials are "URI Query Parameter".
|
void |
setAcceptBodyMethod(boolean acceptBodyMethod)
Deprecated.
Indicates if the credentials are "Form-Encoded Body Parameter".
|
void |
setAcceptQueryMethod(boolean acceptQueryMethod)
Deprecated.
Indicates if the credentials are "URI Query Parameter".
|
int |
verify(Request request,
Response response)
Deprecated.
|
public TokenVerifier(Reference authReference)
authReference
- The authorization resource URI.public boolean isAcceptBodyMethod()
public boolean isAcceptQueryMethod()
public void setAcceptBodyMethod(boolean acceptBodyMethod)
acceptBodyMethod
- True if the credentials are "Form-Encoded Body Parameter".public void setAcceptQueryMethod(boolean acceptQueryMethod)
acceptQueryMethod
- True if the credentials are "URI Query Parameter".Copyright © 2005-2020 Restlet.