ClaimPolicyConfig.GetPolicy method
Gets a policy by name.
public ClaimRule? GetPolicy(string policyName)
| parameter | description |
|---|---|
| policyName | The name of the policy to retrieve. |
Return Value
The ClaimRule associated with the specified policy name, or null if not found.
See Also
- record ClaimRule
- class ClaimPolicyConfig
- namespace Kestrun.Claims