Interface AuthnProvider

    • Method Detail

      • authenticate

        Token authenticate()
        Return an authentication token. This method should be equivalent to authenticate(true) if the implementation supports token caching.
        Returns:
        a Conjur authentication token
      • authenticate

        Token authenticate​(boolean useCachedToken)
        Return an authentication token. If the implementation supports token caching and useCachedToken is true, it should return a cached token if a valid (non-expired) one is available. If useCachedToken is false, it should always fetch a fresh token from the Conjur authn service.
        Parameters:
        useCachedToken - whether to use a cached token.
        Returns:
        a Conjur authentication token