/// <summary> /// Initializes a new instance of the <see cref="SimpleTokenService" /> class. /// </summary> /// <param name="simpleTokenRepo">The simple token repository.</param> /// <param name="options">The options.</param> public SimpleTokenService( ISimpleTokenRepository simpleTokenRepo, SimpleTokenSettings options) { Settings = options ?? new SimpleTokenSettings(); SimpleTokenRepo = simpleTokenRepo; }
/// <summary> /// Initializes a new instance of the <see cref="SimpleTokenService"/> class. /// </summary> /// <param name="simpleTokenRepo">The simple token repository.</param> public SimpleTokenService(ISimpleTokenRepository simpleTokenRepo) { Settings = new SimpleTokenSettings(); SimpleTokenRepo = simpleTokenRepo; }