Пример #1
0
    public async Task SetClientIdAsync()
    {
        var clientId    = Guid.NewGuid().ToString();
        var application = await _applicationStore.FindByIdAsync(AbpOpenIddictTestData.App1Id.ToString(), CancellationToken.None);

        await _applicationStore.SetClientIdAsync(application, clientId, CancellationToken.None);

        application.ClientId.ShouldBe(clientId);
    }