Table of Contents

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

claimType string
valueType string

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 JsonElement

The source data to examine. This value may be null.

identity ClaimsIdentity

The identity to add Claims to.

issuer string

The value to use for Claim.Issuer when creating a Claim.