Package hudson.scm

Class OAuth2ClientCredentials

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
hudson.scm.OAuth2ClientCredentials
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.Credentials, hudson.ExtensionPoint, hudson.model.Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable

public class OAuth2ClientCredentials extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    OAuth2ClientCredentials(String id, String description, String clientId, String clientSecret, String tokenEndpoint, String oAuthScope)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    hudson.util.Secret
     
     
     

    Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    equals, getDescription, getId, hashCode

    Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

    getDescriptor, getScope

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope
  • Constructor Details

    • OAuth2ClientCredentials

      @DataBoundConstructor public OAuth2ClientCredentials(String id, String description, String clientId, String clientSecret, String tokenEndpoint, String oAuthScope)
  • Method Details

    • getClientId

      public String getClientId()
    • getClientSecret

      public hudson.util.Secret getClientSecret()
    • getTokenEndpoint

      public String getTokenEndpoint()
    • getOAuthScope

      public String getOAuthScope()