Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd39b07

Browse filesBrowse files
committed
Fix javadoc issues
1 parent a9438b6 commit bd39b07
Copy full SHA for bd39b07

File tree

Expand file treeCollapse file tree

3 files changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+9
-0
lines changed

‎src/main/java/org/kohsuke/github/CredentialProvider.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/CredentialProvider.java
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ public interface CredentialProvider {
3434
/**
3535
* Binds this credential provider to a github instance.
3636
*
37+
* Only needs to be implemented by dynamic credentials providers that use a github instance in order to refresh.
38+
*
3739
* @param github
40+
* The github instance to be used for refreshing dynamic credentials
3841
*/
3942
default void bind(GitHub github) {
4043
}

‎src/main/java/org/kohsuke/github/ImmutableCredentialProvider.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/ImmutableCredentialProvider.java
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public static CredentialProvider fromOauthToken(String oauthAccessToken) {
3434
*
3535
* @param oauthAccessToken
3636
* The token
37+
* @param login
38+
* The login for this token
39+
*
3740
* @return a correctly configured {@link CredentialProvider} that will always return the same provided
3841
* oauthAccessToken
3942
*/

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/OrgInstallationCredentialProvider.java
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public class OrgInstallationCredentialProvider implements CredentialProvider {
2929
*
3030
* @param organizationName
3131
* The name of the organization where the application is installed
32+
* @param credentialProvider
33+
* A credential provider that returns a JWT token that can be used to refresh the App Installation token
34+
* from GitHub.
3235
*/
3336
@BetaApi
3437
@Deprecated

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.