public CreateJwtTokenAsStringService( IJwtTokenClaimsProvider jwtTokenClaimsProvider, ISigningCredentialsProvider signingCredentialsProvider, IJwtTokenExpireDateTimeProvider jwtTokenExpireDateTimeProvider, IJwtSecurityTokenProvider jwtSecurityTokenProvider, IJwtSecurityTokenWriter jwtSecurityTokenWriter) { _jwtTokenClaimsProvider = jwtTokenClaimsProvider; _signingCredentialsProvider = signingCredentialsProvider; _jwtTokenExpireDateTimeProvider = jwtTokenExpireDateTimeProvider; _jwtSecurityTokenProvider = jwtSecurityTokenProvider; _jwtSecurityTokenWriter = jwtSecurityTokenWriter; }
public OtpAuthTokenProvider( ISigningCredentialsProvider signingCredentialsProvider, IJwtTokenExpireDateTimeProvider jwtTokenExpireDateTimeProvider, IJwtSecurityTokenProvider jwtSecurityTokenProvider, IJwtSecurityTokenWriter jwtSecurityTokenWriter, IOtpAuthTokenClaimsProvider otpAuthTokenClaimsProvider) { _signingCredentialsProvider = signingCredentialsProvider; _jwtTokenExpireDateTimeProvider = jwtTokenExpireDateTimeProvider; _jwtSecurityTokenProvider = jwtSecurityTokenProvider; _jwtSecurityTokenWriter = jwtSecurityTokenWriter; _otpAuthTokenClaimsProvider = otpAuthTokenClaimsProvider; }