Class CloudFoundryScopeClaimAction
- Namespace
- Steeltoe.Security.Authentication.CloudFoundry
- Assembly
- Steeltoe.Security.Authentication.CloudFoundryCore.dll
public class CloudFoundryScopeClaimAction : ClaimAction
- Inheritance
-
CloudFoundryScopeClaimAction
- Inherited Members
Constructors
CloudFoundryScopeClaimAction(string, string)
public CloudFoundryScopeClaimAction(string claimType, string valueType)
Parameters
Methods
Run(JsonElement, ClaimsIdentity, string)
Examine the given userData JSON, determine if the requisite data is present, and optionally add it as a new Claim on the ClaimsIdentity.
public override void Run(JsonElement userData, ClaimsIdentity identity, string issuer)
Parameters
userDataJsonElementThe source data to examine. This value may be null.
identityClaimsIdentityThe identity to add Claims to.
issuerstringThe value to use for Claim.Issuer when creating a Claim.