public AuthorizationCodeFlowBase(Uri serviceUri, AuthorizationCodeTokenRequest tokenRequest, IHttpClient httpClient) { _serviceUri = serviceUri; _tokenRequest = tokenRequest; _httpClient = httpClient; _state = Guid.NewGuid().ToString("N"); }
public AzureAdAuthorizationCodeFlow(Uri serviceUri, AuthorizationCodeTokenRequest tokenRequest) : base(serviceUri, tokenRequest) { Guid validatedTenantId = Guid.Empty; if (Guid.TryParse(serviceUri.AbsolutePath, out validatedTenantId)) { throw new ArgumentException("BaseUri should include tenant ID."); } }
public AuthorizationCodeFlowBase(Uri serviceUri, AuthorizationCodeTokenRequest tokenRequest) : this(serviceUri, tokenRequest, new OAuthHttpClient()) { }
public AcsAuthorizationCodeFlow(Uri serviceUri, AuthorizationCodeTokenRequest tokenRequest, IHttpClient httpAdapter) : base(serviceUri, tokenRequest, httpAdapter) { }
public AcsAuthorizationCodeFlow(Uri serviceUri, AuthorizationCodeTokenRequest tokenRequest) : base(serviceUri, tokenRequest) { }