/// <summary> /// Initializes a new instance of the <see cref="OAuth2Authenticator"/> class. /// </summary> /// <param name="client">The OAuth2 client</param> protected OAuth2Authenticator(OAuth2.OAuth2Client client) : this(client, TimeSpan.FromSeconds(60)) { }
/// <summary> /// Initializes a new instance of the <see cref="OAuth2Authenticator"/> class. /// </summary> /// <param name="client">The OAuth2 client</param> /// <param name="challengeTimespan">The time span that has to be exceeded before a new challenge can be handled</param> protected OAuth2Authenticator(OAuth2.OAuth2Client client, TimeSpan challengeTimespan) { Client = client; ChallengeTimespan = challengeTimespan; }
/// <summary> /// Initializes a new instance of the <see cref="OAuth2UriQueryParameterAuthenticator"/> class. /// </summary> /// <param name="client">The OAuth2 client</param> public OAuth2UriQueryParameterAuthenticator(OAuth2.OAuth2Client client) : base(client) { }