Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​Features.​ITlsTokenBindingFeature

Assembly: Microsoft.AspNetCore.Http.Features

Provides information regarding TLS token binding parameters.

Remarks

TLS token bindings help mitigate the risk of impersonation by an attacker in the event an authenticated client's bearer tokens are somehow exfiltrated from the client's machine. See <see href="https://datatracker.ietf.org/doc/draft-popov-token-binding/" /> for more information.

Methods

byte[]
GetProvidedTokenBindingId​()
Gets the 'provided' token binding identifier associated with the request.
Returns The token binding identifier, or null if the client did not supply a 'provided' token binding or valid proof of possession of the associated private key. The caller should treat this identifier as an opaque blob and should not try to parse it.
byte[]
GetReferredTokenBindingId​()
Gets the 'referred' token binding identifier associated with the request.
Returns The token binding identifier, or null if the client did not supply a 'referred' token binding or valid proof of possession of the associated private key. The caller should treat this identifier as an opaque blob and should not try to parse it.