public class CredentialsHelper extends Object
Constructor and Description |
---|
CredentialsHelper() |
Modifier and Type | Method and Description |
---|---|
static hudson.util.ListBoxModel |
doFillOAuth2TokenCredentialsIdItems() |
static hudson.util.ListBoxModel |
doFillUsernamePasswordCredentialsIdItems() |
static com.google.common.base.Optional<org.jenkinsci.plugins.plaincredentials.StringCredentials> |
findOAuth2TokenCredentials(String oAuth2TokenCredentialsId) |
static com.google.common.base.Optional<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> |
findUsernamePasswordCredentials(String usernamePasswordCredentialsId) |
public static hudson.util.ListBoxModel doFillOAuth2TokenCredentialsIdItems()
public static hudson.util.ListBoxModel doFillUsernamePasswordCredentialsIdItems()
public static com.google.common.base.Optional<org.jenkinsci.plugins.plaincredentials.StringCredentials> findOAuth2TokenCredentials(String oAuth2TokenCredentialsId)
public static com.google.common.base.Optional<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> findUsernamePasswordCredentials(String usernamePasswordCredentialsId)
Copyright © 2016–2017. All rights reserved.