Namespace Arc4u.OAuth2
Classes
- AppPrincipalTransform
Transform a ClaimsPrincipal to a AppPrincipal. This needs to be injected with a scoped lifetime, because it relies on an IApplicationContext, which is also scoped.
- AppServicePrincipalFactory
Creates an AppPrincipal on the server side. A token is requested from the ITokenProvider designated by the
ProviderIdkey of the settings, its claims are added to an identity, and the identity is transformed by the registered IClaimsTransformation.
- BasicSettingsOptions
The settings used by the Basic authentication to request a token from an authority for the credentials received in a request. Bound from the
Authentication:Basic:Settingssection by default.
- Constants
Constants shared by the Arc4u OAuth2 authentication packages (authentication types, scheme names and default scopes).
- Http2Handler
Force the Http request to use Http 2.0
- LoggerMessages
Source-generated high-performance log messages of the
Arc4u.OAuth2package, exposed as ILogger extension methods.
Interfaces
- ICacheKeyGenerator
Generates the key under which the data of an identity is stored in the cache.
- IScopedServiceProviderAccessor
Gives access to the IServiceProvider of the current scope (for example the current HTTP request or Blazor circuit), so scoped services can be resolved by code that lives longer than the scope.