skip to Main Content

Azure ClientCertificateCredential – Using SNI

I'm trying to authenticate to an Azure AD Application using ClientCertificateCredential (in C#): using Azure.Identity; var credential = new ClientCertificateCredential("TenantId", "AppId", @"pathtocert.pfx"); on the application, I had configured the certificate's SNI as a trusted certificated: "trustedCertificateSubjects": [ { "authorityId": "auth…

VIEW QUESTION

Change css in Blazor

Is there any way to have a specific card show its own text when you click the show text button. I've tried several different ways of manipulating CSS, it doesn't work @foreach(var note in noteViewModels) { <div class="m-2"> <div class="d-flex…

VIEW QUESTION

Visual Studio Code – Google API: Access mailbox to query mails

IDE: MS Visual Studio - C# Code Screenshot: Code ServiceAccountCredential cred; //UserCredential cred; string[] scopes = new string[] { GmailService.Scope.GmailLabels, GmailService.Scope.GmailModify, GmailService.Scope.MailGoogleCom }; using (var stream = new FileStream(@"C:UsersuserDownloadsiwt-mail-crm-sync-135b79aaca90.json", FileMode.Open, FileAccess.Read)) { cred = ServiceAccountCredential.FromServiceAccountData(stream); cred.Scopes = scopes; } var…

VIEW QUESTION
Back To Top
Search