コード例 #1
0
 public void CreateCredentials(AzureADB2CGraphOptions b2cOptions)
 {
     authContext  = new AuthenticationContext(b2cOptions.Instance + b2cOptions.Tenant);
     credential   = new ClientCredential(b2cOptions.ClientId, b2cOptions.ClientSecret);
     graphOptions = b2cOptions;
 }
コード例 #2
0
 public IdentityController(IOptions <AzureADB2CGraphOptions> b2cOptions, IOptions <LogicAppOptions> logicAppOptions)
 {
     _b2cOptions      = b2cOptions.Value;
     _logicAppOptions = logicAppOptions.Value;
 }