Uses of Class
com.google.appengine.api.oauth.OAuthRequestException
Packages that use OAuthRequestException
Package
Description
Provides a method for clients to access server resources on behalf of a resource owner, as well
as a process for end-users to authorize third-party access to their server resources without
sharing their credentials.
-
Uses of OAuthRequestException in com.google.appengine.api.oauth
Subclasses of OAuthRequestException in com.google.appengine.api.oauthModifier and TypeClassDescriptionclass
InvalidOAuthParametersException
is thrown when a request is a malformed OAuth request (for example, it omits a required parameter or contains an invalid signature).class
InvalidOAuthTokenException
is thrown when a request contains an invalid OAuth token (for example, a token that has been revoked by the user).Methods in com.google.appengine.api.oauth that throw OAuthRequestExceptionModifier and TypeMethodDescriptionString[]
OAuthService.getAuthorizedScopes
(String... scopes) Return authorized scopes from input scopes.OAuthService.getClientId
(String scope) Returns the client_id from oauth2 request.OAuthService.getClientId
(String... scopes) Returns the client_id from oauth2 request.OAuthService.getCurrentUser()
Returns theUser
on whose behalf the request was made.OAuthService.getCurrentUser
(String scope) Returns theUser
on whose behalf the request was made.OAuthService.getCurrentUser
(String... scopes) Returns theUser
on whose behalf the request was made.OAuthService.getOAuthConsumerKey()
Deprecated.OAuth1 is no longer supportedboolean
OAuthService.isUserAdmin()
Returns true if the user on whose behalf the request was made is an admin for this application, false otherwise.boolean
OAuthService.isUserAdmin
(String scope) Returns true if the user on whose behalf the request was made is an admin for this application, false otherwise.boolean
OAuthService.isUserAdmin
(String... scopes) Returns true if the user on whose behalf the request was made is an admin for this application, false otherwise.