/// <summary> /// To access this type any of the claims listed is required /// </summary> /// <param name="claims"></param> /// <returns></returns> public SchemaType <TBaseType> RequiresAnyClaim(params string[] claims) { if (AuthorizeClaims == null) { AuthorizeClaims = new RequiredClaims(); } AuthorizeClaims.RequiresAnyClaim(claims); return(this); }
/// <summary> /// To access this field any claims listed is required /// </summary> /// <param name="claims"></param> /// <returns></returns> public Field RequiresAnyClaim(params string[] claims) { if (AuthorizeClaims == null) { AuthorizeClaims = new RequiredClaims(); } AuthorizeClaims.RequiresAnyClaim(claims); return(this); }