IClientAssertion Interface

Implements

public interface IClientAssertion
extends IClientCredential

Credential type containing an assertion of type "urn:ietf:params:oauth:token-type:jwt".

Client assertions provide a way for confidential client applications to authenticate themselves to the Microsoft identity platform without sending a client secret. Instead, the application uses a JWT token as a credential.

For more details, see https://aka.ms/msal4j-client-credentials

Method Summary

Modifier and Type Method and Description
abstract java.lang.String assertion()

Gets the JWT token used for client authentication.

Method Details

assertion

public abstract String assertion()

Gets the JWT token used for client authentication.

Returns:

Jwt token encoded as a base64 URL encoded string

Applies to