1 write to BearerTokenProtector
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenConfigureOptions.cs (1)
20
options.
BearerTokenProtector
= new TicketDataFormat(dp.CreateProtector(_primaryPurpose, schemeName, "BearerToken"));
4 references to BearerTokenProtector
Microsoft.AspNetCore.Authentication.BearerToken (4)
BearerTokenHandler.cs (2)
43
var ticket = Options.
BearerTokenProtector
.Unprotect(token);
73
AccessToken = Options.
BearerTokenProtector
.Protect(CreateBearerTicket(user, properties)),
BearerTokenOptions.cs (2)
44
/// If set, the <see cref="
BearerTokenProtector
"/> is used to protect and unprotect the identity and other properties which are stored in the
50
get => _bearerTokenProtector ?? throw new InvalidOperationException($"{nameof(
BearerTokenProtector
)} was not set.");