public bool DoesUserHavePermission(string service, AuthCodeType authCodeType, string code, IList <string> roles) { return(true); }
public bool DoesUserHavePermission(string service, AuthCodeType authCodeType, string code, IList <string> roles) { string url = $"{this.FewBoxConfig.SecurityEndpoint.Protocol}://{this.FewBoxConfig.SecurityEndpoint.Host}:{this.FewBoxConfig.SecurityEndpoint.Port}/api/auth/{service}/{authCodeType.ToString().ToLower()}/{code}"; return(this.VerifyRoles(url, roles)); }