Uses of Class
com.google.appengine.api.oauth.OAuthRequestException
-
Packages that use OAuthRequestException Package Description com.google.appengine.api.oauth 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.oauth Modifier and Type Class Description class
InvalidOAuthParametersException
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
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 OAuthRequestException Modifier and Type Method Description String[]
OAuthService. getAuthorizedScopes(String... scopes)
Return authorized scopes from input scopes.String
OAuthService. getClientId(String scope)
Returns the client_id from oauth2 request.String
OAuthService. getClientId(String... scopes)
Returns the client_id from oauth2 request.User
OAuthService. getCurrentUser()
Returns theUser
on whose behalf the request was made.User
OAuthService. getCurrentUser(String scope)
Returns theUser
on whose behalf the request was made.User
OAuthService. getCurrentUser(String... scopes)
Returns theUser
on whose behalf the request was made.String
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.
-