public OAuth2PasswordBaseService(IOAuth2PasswordBaseRepository oAuth2PasswordBaseRepository, IOAuth2RefreshTokenBaseRepository oAuth2RefreshTokenBaseRepository, IConfiguration configuration) : base(oAuth2RefreshTokenBaseRepository, configuration) { _OAuth2PasswordBaseRepository = oAuth2PasswordBaseRepository; }
public OAuth2ClientCredentialsBaseService(IOAuth2ClientCredentialsBaseRepository oAuth2ClientCredentialsBaseRepository, IOAuth2RefreshTokenBaseRepository oAuth2RefreshTokenBaseRepository, IConfiguration configuration) : base(oAuth2RefreshTokenBaseRepository, configuration) { _OAuth2ClientCredentialsBaseRepository = oAuth2ClientCredentialsBaseRepository; }
public OAuth2AuthorizationCodeBaseService(IOAuth2AuthorizationCodeBaseRepository oAuth2AuthorizationCodeBaseRepository, IOAuth2RefreshTokenBaseRepository oAuth2RefreshTokenBaseRepository, IConfiguration configuration) : base(oAuth2RefreshTokenBaseRepository, configuration) { _OAuth2AuthorizationCodeBaseRepository = oAuth2AuthorizationCodeBaseRepository; }
public OAuth2PasswordBaseService(IOAuth2RefreshTokenBaseRepository oAuth2RefreshTokenBaseRepository, IConfiguration configuration) : base(oAuth2RefreshTokenBaseRepository, configuration) { if (configuration["GrantTypes"] != null && configuration["GrantTypes"].Split(",").ToList().Any(grantType => grantType == GrantType.Password)) { throw new ArgumentNullException(nameof(_OAuth2PasswordBaseRepository)); } }
public OAuth2RefreshTokenBaseService(IOAuth2RefreshTokenBaseRepository oAuth2RefreshTokenBaseRepository, IConfiguration configuration) { _OAuth2RefreshTokenBaseRepository = oAuth2RefreshTokenBaseRepository; }