T - The type of requirements to which this credential should
be applied.public interface OAuth2Credentials<T extends OAuth2ScopeRequirement>
extends com.cloudbees.plugins.credentials.Credentials
| Modifier and Type | Interface and Description |
|---|---|
static class |
OAuth2Credentials.DescriptorImpl
Our descriptor.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
Secret |
getAccessToken(T requirement)
Returns an access token scoped to the set of scopes specified by
the provided
OAuth2ScopeRequirement |
Secret getAccessToken(T requirement)
OAuth2ScopeRequirementCopyright © 2016–2019. All rights reserved.