Namespace Steeltoe.Security.Authorization.Certificate
Classes
- CertificateAuthorizationPolicies
Use this class to refer to authorization policies for use with Cloud Foundry style certificates.
[Authorize(Policy = CertificateAuthorizationPolicies.SameOrg)] [HttpGet] public string AnyAppInTheOrgCanAccess() { return "Certificate is valid, client and server are in the same org."; }
- SameOrgRequirement
Client certificates must originate in the same organization (org) as the authorizing application.
- SameSpaceRequirement
Client certificates must originate in the same space as the authorizing application.