function AuthorizationRequest(clientId, redirectUri, scope, responseType, state, extras, generateRandom) {
        if (responseType === void 0) { responseType = AuthorizationRequest.RESPONSE_TYPE_CODE; }
        if (generateRandom === void 0) { generateRandom = crypto_utils_1.cryptoGenerateRandom; }
        this.clientId = clientId;
        this.redirectUri = redirectUri;
        this.scope = scope;
        this.responseType = responseType;
        this.extras = extras;
        this.state = state || newState(generateRandom);
    }
/**
     * Constructs a new AuthorizationRequest.
     * Use a `undefined` value for the `state` parameter, to generate a random
     * state for CSRF protection.
     */
Constructs a new AuthorizationRequest.
Use a `undefined` value for the `state` parameter, to generate a random
state for CSRF protection.
Constructs a new AuthorizationRequest . Use a ` undefined ` value for the ` state ` parameter to generate a random state for CSRF protection .
function AuthorizationRequest(clientId, redirectUri, scope, responseType, state, extras, generateRandom) {
        if (responseType === void 0) { responseType = AuthorizationRequest.RESPONSE_TYPE_CODE; }
        if (generateRandom === void 0) { generateRandom = crypto_utils_1.cryptoGenerateRandom; }
        this.clientId = clientId;
        this.redirectUri = redirectUri;
        this.scope = scope;
        this.responseType = responseType;
        this.extras = extras;
        this.state = state || newState(generateRandom);
    }
function AuthorizationRequest ( clientId , redirectUri , scope , responseType , state , extras , generateRandom ) { if ( responseType === void 0 ) { responseType = AuthorizationRequest . RESPONSE_TYPE_CODE ; } if ( generateRandom === void 0 ) { generateRandom = crypto_utils_1 . cryptoGenerateRandom ; } this . clientId = clientId ; this . redirectUri = redirectUri ; this . scope = scope ; this . responseType = responseType ; this . extras = extras ; this . state = state || newState ( generateRandom ) ; }
Constructs a new AuthorizationRequest.
Constructs a new AuthorizationRequest .