Interface AuthorizationCredentialsProvider

All Known Implementing Classes:
StaticAuthorizationCredentialsProvider

public interface AuthorizationCredentialsProvider
API for a provider of authorization credentials.
Since:
1.16
Version:
1.1
Author:
matt
  • Method Details

    • getAuthorizationId

      String getAuthorizationId()
      Get the authorization identifier.
      Returns:
      the authorization identifier
    • getAuthorizationSecret

      String getAuthorizationSecret()
      Get the authorization secret.
      Returns:
      the authorization secret
    • getAuthorizationSigningKey

      default byte[] getAuthorizationSigningKey()
      Get a pre-computed signing key.
      Returns:
      the pre-computed signing key, signed using the getAuthorizationSigningDate() date, or null if getAuthorizationSecret() should be used
      See Also:
    • getAuthorizationSigningDate

      default Instant getAuthorizationSigningDate()
      Get the pre-computed signing key sign date.
      Returns:
      the date used to sign getAuthorizationSigningKey() if that is non-null