Ejemplo n.º 1
0
    public async Task SetRedirectUrisAsync()
    {
        var application = await _applicationStore.FindByIdAsync(AbpOpenIddictTestData.App1Id.ToString(), CancellationToken.None);

        await _applicationStore.SetRedirectUrisAsync(application, ImmutableArray.Create("https://abp.io"), CancellationToken.None);

        application.RedirectUris.ShouldBe("[\"https://abp.io\"]");
    }