protected override AuthorizationResult OnAuthenticate(string headers) { AuthorizationResult result; using (this.dialog = new WindowsFormsWebAuthenticationDialog(this.OwnerWindow)) { result = this.dialog.AuthenticateAAD(this.RequestUri, this.CallbackUri, headers); } return(result); }
protected override AuthorizationResult OnAuthenticate(string headers) { AuthorizationResult result; using (this.dialog = new WindowsFormsWebAuthenticationDialog(this.OwnerWindow)) { result = this.dialog.AuthenticateAAD(this.RequestUri, this.CallbackUri, headers); } return result; }
protected override AuthorizationResult OnAuthenticate() { AuthorizationResult result; using (dialog = new WindowsFormsWebAuthenticationDialog(this.OwnerWindow) { RequestContext = this.RequestContext }) { result = dialog.AuthenticateAAD(this.RequestUri, this.CallbackUri); } return(result); }