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