function Authenticator(endpoints, tokens) {
        this.endpoints = endpoints;
        this.tokens = tokens;
        if (endpoints == null) {
            this.endpoints = new endpoint_manager_1.EndpointManager();
        }
        if (tokens == null) {
            this.tokens = new token_manager_1.TokenManager();
        }
    }
/**
     * @constructor
     *
     * @param endpointManager Depends on an instance of EndpointManager.
     * @param TokenManager Depends on an instance of TokenManager.
    */
@constructor

@param endpointManager Depends on an instance of EndpointManager.
@param TokenManager Depends on an instance of TokenManager.
@constructor @param endpointManager Depends on an instance of EndpointManager . @param TokenManager Depends on an instance of TokenManager .
function Authenticator(endpoints, tokens) {
        this.endpoints = endpoints;
        this.tokens = tokens;
        if (endpoints == null) {
            this.endpoints = new endpoint_manager_1.EndpointManager();
        }
        if (tokens == null) {
            this.tokens = new token_manager_1.TokenManager();
        }
    }
function Authenticator ( endpoints , tokens ) { this . endpoints = endpoints ; this . tokens = tokens ; if ( endpoints == null ) { this . endpoints = new endpoint_manager_1 . EndpointManager ( ) ; } if ( tokens == null ) { this . tokens = new token_manager_1 . TokenManager ( ) ; } }
@constructor
@constructor