scripts/core/augmented.js
function(clientType) {
        if (clientType === Augmented.Security.ClientType.OAUTH2) {
          return new Augmented.Security.Client.OAUTH2Client();
        } else if (clientType === Augmented.Security.ClientType.ACL) {
          return new Augmented.Security.Client.ACLClient();
        }
        return null;
      }
function(clientType) {
        if (clientType === Augmented.Security.ClientType.OAUTH2) {
          return new Augmented.Security.Client.OAUTH2Client();
        } else if (clientType === Augmented.Security.ClientType.ACL) {
          return new Augmented.Security.Client.ACLClient();
        }
        return null;
      }
function ( clientType ) { if ( clientType === Augmented . Security . ClientType . OAUTH2 ) { return new Augmented . Security . Client . OAUTH2Client ( ) ; } else if ( clientType === Augmented . Security . ClientType . ACL ) { return new Augmented . Security . Client . ACLClient ( ) ; } return null ; }
Get an instance of a security client
@method getSecurityClient
@param {Augmented.Security.ClientType} clientType The Client Type to return
@returns {Augmented.Security.Client} Returns a security client instance
@memberof Augmented.Security.AuthenticationFactory
Get an instance of a security client