public ConsentBuilder(CreateConsentOptions createConsentOptions, HandleConsentOptions consentHandlerOptions,
            JwtOptions jwtOptions)
        {
            if (jwtOptions == null)
            {
                throw new ArgumentNullException("jwtOptions");
            }

            _createConsentOptions = createConsentOptions;
            _consentHandlerOptions = consentHandlerOptions;
            _jwtOptions = jwtOptions;
        }
Beispiel #2
0
        public ConsentBuilder(CreateConsentOptions createConsentOptions, HandleConsentOptions consentHandlerOptions,
                              JwtOptions jwtOptions)
        {
            if (jwtOptions == null)
            {
                throw new ArgumentNullException("jwtOptions");
            }

            _createConsentOptions  = createConsentOptions;
            _consentHandlerOptions = consentHandlerOptions;
            _jwtOptions            = jwtOptions;
        }