Class IdcsRoleMapperProviderBase.AppToken

    • Constructor Detail

      • AppToken

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

      • 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