Пример #1
0
        public Task <SecuritySamlCompleteLogoutResponse> SamlCompleteLogoutAsync(Action <SecuritySamlCompleteLogoutRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SecuritySamlCompleteLogoutRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SecuritySamlCompleteLogoutRequestDescriptor, SecuritySamlCompleteLogoutResponse>(descriptor));
        }
Пример #2
0
        public SecuritySamlCompleteLogoutResponse SamlCompleteLogout(Action <SecuritySamlCompleteLogoutRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecuritySamlCompleteLogoutRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SecuritySamlCompleteLogoutRequestDescriptor, SecuritySamlCompleteLogoutResponse>(descriptor));
        }