Пример #1
0
        public async Task <bool> SignInAsync(IDictionary <string, string> properties)
        {
            var permission = await _SecurityProvider.GetPermissionAsync(properties);

            if (permission == null)
            {
                return(false);
            }
            _CurrentPrincipal = new MockPrincipal(permission, _SecurityProvider);
            return(true);
        }