Class LocalAppIdentityService

java.lang.Object
com.google.appengine.tools.development.AbstractLocalRpcService
com.google.appengine.api.appidentity.dev.LocalAppIdentityService
All Implemented Interfaces:
LocalRpcService

@AutoService(LocalRpcService.class) public class LocalAppIdentityService extends AbstractLocalRpcService
Stub implementation of the app identity service.
  • Field Details

  • Constructor Details

    • LocalAppIdentityService

      public LocalAppIdentityService()
  • Method Details

    • getPackage

      public String getPackage()
      Returns the package for the service, for example, "datastore_v3".
      Returns:
      a not null package name.
    • init

      public void init(LocalServiceContext context, Map<String,String> properties)
      Initializes the service with a set of configuration properties. Must be called before a service is started.
      Specified by:
      init in interface LocalRpcService
      Overrides:
      init in class AbstractLocalRpcService
      Parameters:
      context - A context object for the application
      properties - A read-only Map of properties.
    • start

      public void start()
      Puts a new service into "serving" mode. Aside from setting properties, the service is not functional until after having been started.
      Specified by:
      start in interface LocalRpcService
      Overrides:
      start in class AbstractLocalRpcService
    • stop

      public void stop()
      Stops the service, releasing all of its resources.
      Specified by:
      stop in interface LocalRpcService
      Overrides:
      stop in class AbstractLocalRpcService
    • signForApp

      public com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppResponse signForApp(LocalRpcService.Status status, com.google.appengine.api.appidentity.AppIdentityServicePb.SignForAppRequest request) throws Exception
      Throws:
      Exception
    • getPublicCertificatesForApp

      public com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppResponse getPublicCertificatesForApp(LocalRpcService.Status status, com.google.appengine.api.appidentity.AppIdentityServicePb.GetPublicCertificateForAppRequest request)
    • getServiceAccountName

      public com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameResponse getServiceAccountName(LocalRpcService.Status status, com.google.appengine.api.appidentity.AppIdentityServicePb.GetServiceAccountNameRequest request)
    • getDefaultGcsBucketName

      public com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameResponse getDefaultGcsBucketName(LocalRpcService.Status status, com.google.appengine.api.appidentity.AppIdentityServicePb.GetDefaultGcsBucketNameRequest request)
    • getAccessToken

      public com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenResponse getAccessToken(LocalRpcService.Status status, com.google.appengine.api.appidentity.AppIdentityServicePb.GetAccessTokenRequest request)