Skip to content

Commit 97e918d

Browse files
author
Marcos.Cela
committed
remove unused JWTTokenProvider (we are now using a github client)
1 parent 4f30998 commit 97e918d

2 files changed

Lines changed: 3 additions & 19 deletions

File tree

src/main/java/org/kohsuke/github/JWTTokenProvider.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/main/java/org/kohsuke/github/OrgInstallationCredentialProvider.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
import java.util.Date;
55

66
/**
7-
* Provides a CredentialProvider that performs automatic token refresh based on a {@link JWTTokenProvider} that always
8-
* returns a valid and up-to-date JWT Token.
7+
* Provides a CredentialProvider that performs automatic token refresh.
98
*/
109
public class OrgInstallationCredentialProvider implements CredentialProvider {
1110

@@ -17,8 +16,8 @@ public class OrgInstallationCredentialProvider implements CredentialProvider {
1716
private Date validUntil;
1817

1918
/**
20-
* Provides a CredentialProvider that performs automatic token refresh based on a {@link JWTTokenProvider} that
21-
* always returns a valid and up-to-date JWT Token.
19+
* Provides a CredentialProvider that performs automatic token refresh, based on an previously
20+
* authenticated github client.
2221
*
2322
* @param organizationName
2423
* The name of the organization where the application is installed

0 commit comments

Comments
 (0)