public interface IUserAssertion
The On-Behalf-Of flow is used when a service receives a token from a client application and needs to call another service on behalf of the original user. In this scenario, the received token serves as the user assertion that proves the original user's identity and authentication.
This interface is typically used with OnBehalfOfParameters when acquiring tokens in
middle-tier applications that need to call downstream services.
| Modifier and Type | Method and Description |
|---|---|
String |
getAssertion()
Gets the assertion token used in the On-Behalf-Of flow.
|
String |
getAssertionHash()
Gets a hash of the assertion token.
|
String getAssertion()
The assertion is typically a JWT token received from an upstream client application that represents the original user's identity and authentication.
String getAssertionHash()
This hash is used as a key for caching tokens acquired via the On-Behalf-Of flow, allowing the application to efficiently retrieve tokens for the same user assertion without making redundant requests to the token service.
Copyright © 2013–2025. All rights reserved.