Interface ClientAssertionProvider

All Known Implementing Classes:
AzureWorkloadIdentityAssertionProvider, JjwtClientAssertionProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClientAssertionProvider

Functional interface for supplying a signed client assertion JWT string.

Implementations are responsible for creating or obtaining the assertion JWT, which is sent as the client_assertion parameter in the OAuth2 client credentials flow with JWT Bearer client authentication (RFC 7523 / urn:ietf:params:oauth:client-assertion-type:jwt-bearer).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a client assertion JWT string.
  • Method Details

    • getAssertion

      String getAssertion()
      Returns a client assertion JWT string.
      Returns:
      a serialized signed JWT assertion string; never null