Package com.google.auth.appengine
Class AppEngineCredentials.Builder
- java.lang.Object
-
- com.google.auth.oauth2.OAuth2Credentials.Builder
-
- com.google.auth.oauth2.GoogleCredentials.Builder
-
- com.google.auth.appengine.AppEngineCredentials.Builder
-
- Enclosing class:
- AppEngineCredentials
public static class AppEngineCredentials.Builder extends GoogleCredentials.Builder
-
-
Field Summary
-
Fields inherited from class com.google.auth.oauth2.GoogleCredentials.Builder
quotaProjectId
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(AppEngineCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppEngineCredentialsbuild()com.google.appengine.api.appidentity.AppIdentityServicegetAppIdentityService()Collection<String>getScopes()AppEngineCredentials.BuildersetAppIdentityService(com.google.appengine.api.appidentity.AppIdentityService appIdentityService)AppEngineCredentials.BuildersetScopes(Collection<String> scopes)-
Methods inherited from class com.google.auth.oauth2.GoogleCredentials.Builder
getQuotaProjectId, setAccessToken, setQuotaProjectId
-
Methods inherited from class com.google.auth.oauth2.OAuth2Credentials.Builder
getAccessToken, getExpirationMargin, getRefreshMargin, setExpirationMargin, setRefreshMargin
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(AppEngineCredentials credentials)
-
-
Method Detail
-
setScopes
public AppEngineCredentials.Builder setScopes(Collection<String> scopes)
-
setAppIdentityService
public AppEngineCredentials.Builder setAppIdentityService(com.google.appengine.api.appidentity.AppIdentityService appIdentityService)
-
getScopes
public Collection<String> getScopes()
-
getAppIdentityService
public com.google.appengine.api.appidentity.AppIdentityService getAppIdentityService()
-
build
public AppEngineCredentials build()
- Overrides:
buildin classGoogleCredentials.Builder
-
-