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 protected
Builder()
protected
Builder(AppEngineCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppEngineCredentials
build()
com.google.appengine.api.appidentity.AppIdentityService
getAppIdentityService()
Collection<String>
getScopes()
AppEngineCredentials.Builder
setAppIdentityService(com.google.appengine.api.appidentity.AppIdentityService appIdentityService)
AppEngineCredentials.Builder
setScopes(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:
build
in classGoogleCredentials.Builder
-
-