applications/dashboard/controllers/class.authenticationcontroller.php
public function Configure($AuthenticationSchemeAlias = NULL) {
      $Message = T("Please choose an authenticator to configure.");
      if (!is_null($AuthenticationSchemeAlias)) {
         $AuthenticatorInfo = Gdn::Authenticator()->GetAuthenticatorInfo($AuthenticationSchemeAlias);
         if ($AuthenticatorInfo !== FALSE) {
            $this->AuthenticatorChoice = $AuthenticationSchemeAlias;
            if (array_key_exists($AuthenticationSchemeAlias, $this->ConfigureList) && $this->ConfigureList[$AuthenticationSchemeAlias] !== FALSE) {
               echo Gdn::Slice($this->ConfigureList[$AuthenticationSchemeAlias]);
               return;
            } else
               $Message = sprintf(T("The %s Authenticator does not have any custom configuration options."),$AuthenticatorInfo['Name']);
         }
      }
      
      $this->SetData('ConfigureMessage', $Message);
      $this->Render();
   }
public function Configure($AuthenticationSchemeAlias = NULL) {
      $Message = T("Please choose an authenticator to configure.");
      if (!is_null($AuthenticationSchemeAlias)) {
         $AuthenticatorInfo = Gdn::Authenticator()->GetAuthenticatorInfo($AuthenticationSchemeAlias);
         if ($AuthenticatorInfo !== FALSE) {
            $this->AuthenticatorChoice = $AuthenticationSchemeAlias;
            if (array_key_exists($AuthenticationSchemeAlias, $this->ConfigureList) && $this->ConfigureList[$AuthenticationSchemeAlias] !== FALSE) {
               echo Gdn::Slice($this->ConfigureList[$AuthenticationSchemeAlias]);
               return;
            } else
               $Message = sprintf(T("The %s Authenticator does not have any custom configuration options."),$AuthenticatorInfo['Name']);
         }
      }
      
      $this->SetData('ConfigureMessage', $Message);
      $this->Render();
   }
public function Configure ( $ AuthenticationSchemeAlias = NULL ) { $ Message = T ( "Please choose an authenticator to configure." ) ; if ( ! is_null ( $ AuthenticationSchemeAlias ) ) { $ AuthenticatorInfo = Gdn :: Authenticator ( ) -> GetAuthenticatorInfo ( $ AuthenticationSchemeAlias ) ; if ( $ AuthenticatorInfo !== FALSE ) { $ this -> AuthenticatorChoice = $ AuthenticationSchemeAlias ; if ( array_key_exists ( $ AuthenticationSchemeAlias , $ this -> ConfigureList ) && $ this -> ConfigureList [ $ AuthenticationSchemeAlias ] !== FALSE ) { echo Gdn :: Slice ( $ this -> ConfigureList [ $ AuthenticationSchemeAlias ] ) ; return ; } else $ Message = sprintf ( T ( "The %s Authenticator does not have any custom configuration options." ) , $ AuthenticatorInfo [ 'Name' ] ) ; } } $ this -> SetData ( 'ConfigureMessage' , $ Message ) ; $ this -> Render ( ) ; }
Configure authentication method.

@since 2.0.3
@access public

@param string $AuthenticationSchemeAlias
Configure authentication method .