org.restlet.ext.oauth
Class ClientVerifier
java.lang.Object
org.restlet.ext.oauth.ClientVerifier
- All Implemented Interfaces:
- Verifier
public class ClientVerifier
- extends Object
- implements Verifier
Verifier for OAuth 2.0 Token Endpoints. Verify incoming requests with client
credentials. Typically, use with ChallengeAuthenticator.
- Author:
- Shotaro Uchida
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientVerifier
public ClientVerifier(Context context)
verify
public int verify(Request request,
Response response)
- Specified by:
verify
in interface Verifier
isAcceptBodyMethod
public boolean isAcceptBodyMethod()
- Returns:
- the acceptBodyMethod
setAcceptBodyMethod
public void setAcceptBodyMethod(boolean acceptBodyMethod)
- Parameters:
acceptBodyMethod
- the acceptBodyMethod to set
Copyright © 2005-2014 Restlet.