Module org.kohsuke.github.api
Package org.kohsuke.github.authorization
Class OrgAppInstallationAuthorizationProvider
java.lang.Object
org.kohsuke.github.GitHub.DependentAuthorizationProvider
org.kohsuke.github.authorization.AppInstallationAuthorizationProvider
org.kohsuke.github.authorization.OrgAppInstallationAuthorizationProvider
- All Implemented Interfaces:
AuthorizationProvider
@Deprecated
public class OrgAppInstallationAuthorizationProvider
extends AppInstallationAuthorizationProvider
Deprecated.
An AuthorizationProvider that performs automatic token refresh for an organization's AppInstallation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.authorization.AppInstallationAuthorizationProvider
AppInstallationAuthorizationProvider.AppInstallationProvider
-
Field Summary
Fields inherited from interface org.kohsuke.github.authorization.AuthorizationProvider
ANONYMOUS
-
Constructor Summary
ConstructorDescriptionOrgAppInstallationAuthorizationProvider
(String organizationName, AuthorizationProvider authorizationProvider) Deprecated. -
Method Summary
Methods inherited from class org.kohsuke.github.authorization.AppInstallationAuthorizationProvider
getEncodedAuthorization
Methods inherited from class org.kohsuke.github.GitHub.DependentAuthorizationProvider
gitHub
-
Constructor Details
-
OrgAppInstallationAuthorizationProvider
@BetaApi @Deprecated public OrgAppInstallationAuthorizationProvider(String organizationName, AuthorizationProvider authorizationProvider) Deprecated.Replaced byAppInstallationAuthorizationProvider
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 installedauthorizationProvider
- A authorization provider that returns a JWT token that can be used to refresh the App Installation token from GitHub.
-
AppInstallationAuthorizationProvider