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
userData
JsonElementThe source data to examine. This value may be null.
identity
ClaimsIdentityThe identity to add Claims to.
issuer
stringThe value to use for Claim.Issuer when creating a Claim.