public interface AuthenticateService extends QTestService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
authenticate(AuthenticateRequest request)
Authenticate the given request and return the token.
|
OAuthTokenResponse |
authenticate(OAuthAuthenticateRequest request)
Authenticate the given OAuth request.
|
OAuthTokenStatusResponse |
refresh(OAuthTokenRefreshRequest refreshRequest)
Refresh token.
|
OAuthTokenStatusResponse |
status(OAuthTokenStatusRequest statusRequest)
Request token status.
|
User |
validate(ValidateTokenRequest request)
Validate the token from the given token request.
|
setEndpoint, shutdownjava.lang.String authenticate(AuthenticateRequest request) throws AuthServiceException
request - the given authenticate request to authenticate.AuthServiceException - if an error occurs during authenticate.User validate(ValidateTokenRequest request) throws AuthServiceException
request - the given validate token request to validate.AuthServiceException - if an error occurs during validate.OAuthTokenResponse authenticate(OAuthAuthenticateRequest request) throws AuthServiceException
request - the given OAuth request.OAuth token responseAuthServiceException - if an error occurs during authenticate.OAuthTokenStatusResponse status(OAuthTokenStatusRequest statusRequest) throws AuthServiceException
statusRequest - the given status request.OAuth status responseAuthServiceException - if an error occurs during request status.OAuthTokenStatusResponse refresh(OAuthTokenRefreshRequest refreshRequest) throws AuthServiceException
refreshRequest - the given refresh request.OAuth status responseAuthServiceException - if an error occurs during refresh token.