Class IdcsRoleMapperProviderBase.AppToken

java.lang.Object
io.helidon.security.providers.idcs.mapper.IdcsRoleMapperProviderBase.AppToken
Enclosing class:
IdcsRoleMapperProviderBase

protected static class IdcsRoleMapperProviderBase.AppToken extends Object
A token for app access to IDCS.
  • Constructor Details

    • AppToken

      protected AppToken(WebTarget tokenEndpoint)
      Create a new token with a token endpoint.
      Parameters:
      tokenEndpoint - used to get a new token from IDCS
  • Method Details

    • getToken

      protected Optional<String> getToken(RoleMapTracing tracing)
      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