| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleService.AccountDeletedException
Authentication failed, account has been deleted.
|
static class |
GoogleService.AccountDisabledException
Authentication failed, account has been disabled.
|
static class |
GoogleService.CaptchaRequiredException
Authentication failed, CAPTCHA requires answering.
|
static class |
GoogleService.InvalidCredentialsException
Authentication failed, invalid credentials presented to server.
|
static class |
GoogleService.NotVerifiedException
Authentication failed, account has not been verified.
|
static class |
GoogleService.ServiceUnavailableException
Authentication failed, authentication service not available.
|
static class |
GoogleService.SessionExpiredException
Authentication failed, the token's session has expired.
|
static class |
GoogleService.TermsNotAgreedException
Authentication failed, user did not agree to the terms of service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
GoogleService.getAuthToken(String username,
String password,
String captchaToken,
String captchaAnswer,
String serviceName,
String applicationName)
Retrieves the authentication token for the provided set of credentials.
|
String |
GoogleAuthTokenFactory.getAuthToken(String username,
String password,
String captchaToken,
String captchaAnswer,
String serviceName,
String applicationName)
Retrieves the authentication token for the provided set of credentials for
either a Google or a hosted domain.
|
String |
GoogleAuthTokenFactory.getAuthToken(String username,
String password,
String captchaToken,
String captchaAnswer,
String serviceName,
String applicationName,
ClientLoginAccountType accountType)
Retrieves the authentication token for the provided set of credentials.
|
void |
GoogleAuthTokenFactory.handleSessionExpiredException(GoogleService.SessionExpiredException sessionExpired) |
void |
AuthTokenFactory.handleSessionExpiredException(GoogleService.SessionExpiredException sessionExpired)
Handles a session expired exception.
|
boolean |
GoogleAuthTokenFactory.OAuth2Token.refreshToken()
Use the
Credential to request a new access token from the
authorization endpoint. |
void |
GoogleService.setUserCredentials(String username,
String password)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleAuthTokenFactory.setUserCredentials(String username,
String password)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleService.setUserCredentials(String username,
String password,
ClientLoginAccountType accountType)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleAuthTokenFactory.setUserCredentials(String username,
String password,
ClientLoginAccountType accountType)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleService.setUserCredentials(String username,
String password,
String captchaToken,
String captchaAnswer)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleAuthTokenFactory.setUserCredentials(String username,
String password,
String captchaToken,
String captchaAnswer)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleService.setUserCredentials(String username,
String password,
String captchaToken,
String captchaAnswer,
ClientLoginAccountType accountType)
Sets the credentials of the user to authenticate requests to the server.
|
void |
GoogleAuthTokenFactory.setUserCredentials(String username,
String password,
String captchaToken,
String captchaAnswer,
ClientLoginAccountType accountType)
Sets the credentials of the user to authenticate requests to the server.
|
| Constructor and Description |
|---|
AppsGroupsService(String domain,
String applicationName)
Parameterized constructor to setup a Service object which can be used to
initialize the service without obtaining a token.
|
AppsGroupsService(String adminUser,
String adminPassword,
String domain,
String applicationName)
Parameterized constructor to setup a Service object with user credentials.
|
| Constructor and Description |
|---|
DomainSettingsService(String adminUser,
String adminPassword,
String domain,
String applicationName)
Parameterized constructor for service authentication.
|
DomainVerificationService(String adminEmail,
String password,
String domain,
String applicationName)
Parameterized constructor for service authentication.
|
EmailManagementService(String adminEmail,
String password,
String domain,
String applicationName)
Parameterized constructor for service authentication.
|
SingleSignOnService(String adminEmail,
String password,
String domain,
String applicationName)
Parameterized constructor for service authentication.
|
| Constructor and Description |
|---|
AuditService(String domain,
String applicationName)
Parameterized constructor to setup a Service object which can be used to
initialize the service without obtaining a token.
|
AuditService(String adminEmail,
String adminPassword,
String domain,
String applicationName)
Parameterized constructor for AuditService.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
AuthSubUtil.exchangeForSessionToken(String onetimeUseToken,
PrivateKey key)
Exchanges the one time use token returned in the URL for a session
token.
|
static String |
AuthSubUtil.exchangeForSessionToken(String protocol,
String domain,
String onetimeUseToken,
PrivateKey key)
Exchanges the one time use token returned in the URL for a session
token.
|
static Map<String,String> |
AuthSubUtil.getTokenInfo(String token,
PrivateKey key)
Retrieves information about the AuthSub token.
|
static Map<String,String> |
AuthSubUtil.getTokenInfo(String protocol,
String domain,
String token,
PrivateKey key)
Retrieves information about the AuthSub token.
|
static void |
AuthSubUtil.revokeToken(String token,
PrivateKey key)
Revokes the specified token.
|
static void |
AuthSubUtil.revokeToken(String protocol,
String domain,
String token,
PrivateKey key)
Revokes the specified token.
|
Copyright © 2012. All Rights Reserved.