Exemplo n.º 1
0
        /// <summary>
        /// Selects the desired authentication method on the server and responds with the status of the select operation
        /// </summary>
        /// <param name="authMethod"></param>
        /// <returns></returns>
        public IStatusIndicator SelectAuthentication(string authMethod)
        {
            SelectAuthenticationMechanismsRequest request = new SelectAuthenticationMechanismsRequest(_ctx);

            request.AuthMechanismToSelect = authMethod;
            return(request.Execute() as IStatusIndicator);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Selects the desired authentication method on the server and responds with the status of the select operation
 /// </summary>
 /// <param name="authMethod"></param>
 /// <returns></returns>
 public IStatusIndicator SelectAuthentication(string authMethod)
 {
     SelectAuthenticationMechanismsRequest request = new SelectAuthenticationMechanismsRequest(_ctx);
     request.AuthMechanismToSelect = authMethod;
     return (request.Execute() as IStatusIndicator);
 }