Table of Contents

Namespace Arc4u.OAuth2.Security.Principal

Classes

ClaimsBearerTokenExtractor

An IClaimsFiller that extracts the claims of a JWT access token. The token is taken from the BootstrapContext of the identity or, when there is none, requested from the ITokenProvider registered for the identity authentication type.

CredentialsResult

Return the Upn and Password implemented with the IUsernamePasswordProvider.

FixKeyGenerator

This class is used with UI application which is user based already (by design). So the key to used can be simple as a fix string.

KeyGeneratorFromIdentity

This class is intented to be used in a service scenario where multiple users are connected. The claims are cached based on a unique identifier from the claims in an identity.

ServerPrincipalCache

An ISecureCache that delegates to the token cache configured through TokenCacheOptions (see ICacheHelper).