Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.google.jenkins.plugins.credentials.domains - package com.google.jenkins.plugins.credentials.domains
- com.google.jenkins.plugins.credentials.oauth - package com.google.jenkins.plugins.credentials.oauth
D
- DescribableDomainRequirementProvider - Class in com.google.jenkins.plugins.credentials.domains
-
This implementation of
DomainRequirementProvider
implements support for discoveringDomainRequirement
s annotated onDescribable
classes by walking theDescriptor
s registered withJenkins
. - DescribableDomainRequirementProvider() - Constructor for class com.google.jenkins.plugins.credentials.domains.DescribableDomainRequirementProvider
- Descriptor(Class<T>) - Constructor for class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification.Descriptor
- DomainRequirementProvider - Class in com.google.jenkins.plugins.credentials.domains
-
This
ExtensionPoint
serves as a means for plugins to augment the domain-requirement discovery process. - DomainRequirementProvider() - Constructor for class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
G
- getAccessToken(T) - Method in interface com.google.jenkins.plugins.credentials.oauth.OAuth2Credentials
-
Returns an access token scoped to the set of scopes specified by the provided
OAuth2ScopeRequirement
- getDescriptor() - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification
- getProviderRequirement() - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification.Descriptor
-
Retrieve the class of
DomainRequirement
s to which our associated specifications should apply. - getScopeItems() - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification.Descriptor
-
Fetches the names and values of the set of scopes consumed by clients of this plugin.
- getScopes() - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
-
The set of oauth scopes required for authenticating the plugin against some service provider.
- getSpecifiedScopes() - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification
-
Surfaces the set of scopes specified by this requirement for jelly roundtripping.
L
- lookupRequirements(Class<T>) - Static method in class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
-
The the entrypoint for requirement gathering, this static method delegates to any registered providers to provide their set of discoverable requirements.
O
- OAuth2Credentials<T extends OAuth2ScopeRequirement> - Interface in com.google.jenkins.plugins.credentials.oauth
-
Credentials that have an OAuth2 access token component
- OAuth2ScopeRequirement - Class in com.google.jenkins.plugins.credentials.oauth
-
A requirement for a set of OAuth2 scopes NOTE: This should never be implemented directly as scopes do not work across multiple providers.
- OAuth2ScopeRequirement() - Constructor for class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeRequirement
- OAuth2ScopeSpecification<T extends OAuth2ScopeRequirement> - Class in com.google.jenkins.plugins.credentials.oauth
-
The base class for provider-specific specifications, instantiated with the provider-specific requirement type to which the specification should apply.
- OAuth2ScopeSpecification(Collection<String>) - Constructor for class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification
- OAuth2ScopeSpecification.Descriptor<T extends OAuth2ScopeRequirement> - Class in com.google.jenkins.plugins.credentials.oauth
-
The base descriptor for specification extensions.
- OAuth2Token<T extends OAuth2ScopeRequirement> - Interface in com.google.jenkins.plugins.credentials.oauth
-
Credentials that store an OAuth2 token (refresh or access)
- of(Class<?>, Class<T>) - Static method in class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
-
This is called by implementations of
provide()
to instantiate the class specified by an actual attribute, if present.
P
- provide(Class<T>) - Method in class com.google.jenkins.plugins.credentials.domains.DescribableDomainRequirementProvider
-
This hook is intended for providers to implement such that they can surface custom class-discovery logic, on which they will call
of()
to instantiate the elements returned. - provide(Class<T>) - Method in class com.google.jenkins.plugins.credentials.domains.DomainRequirementProvider
-
This hook is intended for providers to implement such that they can surface custom class-discovery logic, on which they will call
of()
to instantiate the elements returned.
R
- RequiresDomain - Annotation Type in com.google.jenkins.plugins.credentials.domains
-
This annotation is used to indicate that a given class has the specified
DomainRequirement
.
S
- StandardUsernameOAuth2Credentials<T extends OAuth2ScopeRequirement> - Interface in com.google.jenkins.plugins.credentials.oauth
-
Credentials that have a username and an access token combination.
T
- test(DomainRequirement) - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification
-
Tests the scope against this specification.
V
- value() - Element in annotation type com.google.jenkins.plugins.credentials.domains.RequiresDomain
-
The class of
DomainRequirement
to which the annotated class adheres.
_
- _test(T) - Method in class com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeSpecification
-
Surfaces a hook for implementations to override or extend the default functionality of simply matching the set of scopes.
All Classes and Interfaces|All Packages|Serialized Form