Class OAuth2ScopeCapability
java.lang.Object
com.google.jenkins.plugins.credentials.oauth.OAuth2ScopeCapability
A logical capability an OAuth2 consumer needs.
NOTE: A small set of common capabilities is predefined here. Additional
capabilities can be created with of(String) when both caller and
provider agree on the id.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
SEND_EMAIL
-
-
Method Details
-
of
Creates a capability not covered by predefined constants.- Parameters:
id- unique capability id, e.g."SEND_EMAIL"- Returns:
- capability instance for the given id
-
getId
-
equals
-
hashCode
public int hashCode() -
toString
-