@Beta public class MockAppIdentityService extends Object implements AppIdentityService
Beta AppIdentityService.GetAccessTokenResult, AppIdentityService.ParsedAppId, AppIdentityService.SigningResult| Constructor and Description |
|---|
MockAppIdentityService() |
| Modifier and Type | Method and Description |
|---|---|
AppIdentityService.GetAccessTokenResult |
getAccessToken(Iterable<String> scopes) |
String |
getAccessTokenText() |
AppIdentityService.GetAccessTokenResult |
getAccessTokenUncached(Iterable<String> scopes) |
String |
getDefaultGcsBucketName() |
int |
getGetAccessTokenCallCount() |
Collection<PublicCertificate> |
getPublicCertificatesForApp() |
String |
getServiceAccountName() |
AppIdentityService.ParsedAppId |
parseFullAppId(String fullAppId) |
void |
setAccessTokenText(String text) |
AppIdentityService.SigningResult |
signForApp(byte[] signBlob) |
public int getGetAccessTokenCallCount()
public String getAccessTokenText()
public void setAccessTokenText(String text)
public AppIdentityService.SigningResult signForApp(byte[] signBlob)
signForApp in interface AppIdentityServicepublic Collection<PublicCertificate> getPublicCertificatesForApp()
getPublicCertificatesForApp in interface AppIdentityServicepublic AppIdentityService.GetAccessTokenResult getAccessToken(Iterable<String> scopes)
getAccessToken in interface AppIdentityServicepublic AppIdentityService.GetAccessTokenResult getAccessTokenUncached(Iterable<String> scopes)
getAccessTokenUncached in interface AppIdentityServicepublic String getServiceAccountName()
getServiceAccountName in interface AppIdentityServicepublic AppIdentityService.ParsedAppId parseFullAppId(String fullAppId)
parseFullAppId in interface AppIdentityServicepublic String getDefaultGcsBucketName()
getDefaultGcsBucketName in interface AppIdentityServiceCopyright © 2010–2024 Google. All rights reserved.