Class IdcsRoleMapperProviderBase.AppToken
java.lang.Object
io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProviderBase.AppToken
- Enclosing class:
- IdcsRoleMapperProviderBase
A token for app access to IDCS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetToken
(RoleMapTracing tracing) Get the token to use for requests to IDCS.
-
Constructor Details
-
AppToken
Create a new token with a token endpoint.- Parameters:
tokenEndpoint
- used to get a new token from IDCS
-
-
Method Details
-
getToken
Get the token to use for requests to IDCS.- Parameters:
tracing
- tracing to use when requesting a new token from server- Returns:
- token content or empty if it could not be obtained
-