Package org.apache.nifi.oauth2
Interface OAuth2AccessTokenProvider
- All Superinterfaces:
ConfigurableComponent,ControllerService
Controller service that provides OAuth2 access details
-
Method Summary
Methods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Method Details
-
getAccessDetails
AccessToken getAccessDetails()- Returns:
- A valid access token (refreshed automatically if needed) and additional metadata (provided by the OAuth2 access server)
-