public ConsentBuilder(CreateConsentOptions createConsentOptions, HandleConsentOptions consentHandlerOptions, JwtOptions jwtOptions) { if (jwtOptions == null) { throw new ArgumentNullException("jwtOptions"); } _createConsentOptions = createConsentOptions; _consentHandlerOptions = consentHandlerOptions; _jwtOptions = jwtOptions; }
public CustomProviderOptions(JwtOptions jwtOptions, HandleConsentOptions handleConsentOptions) { if (jwtOptions == null) { throw new ArgumentNullException("jwtOptions"); } if (handleConsentOptions == null) { throw new ArgumentNullException("handleConsentOptions"); } _jwtOptions = jwtOptions; _handleConsentOptions = handleConsentOptions; }