Exemple #1
0
        public Task <SecuritySamlLogoutResponse> SamlLogoutAsync(Action <SecuritySamlLogoutRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SecuritySamlLogoutRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SecuritySamlLogoutRequestDescriptor, SecuritySamlLogoutResponse>(descriptor));
        }
Exemple #2
0
        public SecuritySamlLogoutResponse SamlLogout(Action <SecuritySamlLogoutRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SecuritySamlLogoutRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SecuritySamlLogoutRequestDescriptor, SecuritySamlLogoutResponse>(descriptor));
        }