Class OrgAppInstallationAuthorizationProvider

All Implemented Interfaces:
AuthorizationProvider

@Deprecated public class OrgAppInstallationAuthorizationProvider extends AppInstallationAuthorizationProvider
Deprecated.
An AuthorizationProvider that performs automatic token refresh for an organization's AppInstallation.
  • Constructor Details

    • OrgAppInstallationAuthorizationProvider

      @BetaApi @Deprecated public OrgAppInstallationAuthorizationProvider(String organizationName, AuthorizationProvider authorizationProvider)
      Deprecated.
      Provides an AuthorizationProvider that performs automatic token refresh, based on an previously authenticated github client.
      Parameters:
      organizationName - The name of the organization where the application is installed
      authorizationProvider - A authorization provider that returns a JWT token that can be used to refresh the App Installation token from GitHub.