1 write to BearerTokenProtector
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenConfigureOptions.cs (1)
20options.BearerTokenProtector = new TicketDataFormat(dp.CreateProtector(_primaryPurpose, schemeName, "BearerToken"));
4 references to BearerTokenProtector
Microsoft.AspNetCore.Authentication.BearerToken (4)
BearerTokenHandler.cs (2)
43var ticket = Options.BearerTokenProtector.Unprotect(token); 73AccessToken = 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 50get => _bearerTokenProtector ?? throw new InvalidOperationException($"{nameof(BearerTokenProtector)} was not set.");