C# 클래스 Zitadel.Authentication.ZitadelDefaults

A set of default values for Zitadel themed authentication/authorization.
파일 보기 프로젝트 열기: caos/zitadel-net 1 사용 예제들

공개 메소드들

메소드 설명
OrganizationRoleClaimName ( string orgId ) : string

Constructor for organisation specific role claims. They are used to specify roles on a specific organization. Check for those roles with the policies added with AuthorizationOptionsExtensions.AddZitadelOrganizationRolePolicy or inside a method with ClaimsPrincipalExtensions.IsInRole(System.Security.Claims.ClaimsPrincipal,string,string[]).

메소드 상세

OrganizationRoleClaimName() 공개 정적인 메소드

Constructor for organisation specific role claims. They are used to specify roles on a specific organization. Check for those roles with the policies added with AuthorizationOptionsExtensions.AddZitadelOrganizationRolePolicy or inside a method with ClaimsPrincipalExtensions.IsInRole(System.Security.Claims.ClaimsPrincipal,string,string[]).
public static OrganizationRoleClaimName ( string orgId ) : string
orgId string The id of the organization.
리턴 string