<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2-preview4-GetManagedIdentityCapabilitiesAsync" />

Microsoft.Identity.Client.AuthScheme.IAuthenticationOperation

public interface IAuthenticationOperation
Used to modify the experience depending on the type of token asked.
string AccessTokenType { get; }

Expected to match the token_type parameter returned by ESTS. Used to disambiguate between ATs of different types (e.g. Bearer and PoP) when loading from cache etc.

string AuthorizationHeaderPrefix { get; }

Prefix for the HTTP header that has the token. E.g. "Bearer" or "POP"

string KeyId { get; }

Key ID of the public / private key pair used by the encryption algorithm, if any. Tokens obtained by authentication schemes that use this are bound to the KeyId, i.e. if a different kid is presented, the access token cannot be used.

int TelemetryTokenType { get; }

Value to log to telemetry Values available: Bearer token type. Bearer = 1 Pop token type. Pop = 2, Ssh-cert token type. SshCert = 3, External token type. External = 4, Extension token type. Extension = 5

void FormatResult(AuthenticationResult authenticationResult)

Creates the access token that goes into an Authorization HTTP header.

Extra parameters that are added to the request to the /token endpoint.