Method GrantAsync(long, long, IReadOnlyCollection<string>, CancellationToken)

Assembly: redb.Identity.Core.dll

Creates or extends a permanent consent grant.
If an existing valid permanent authorization exists for the same user+app,
its scopes are merged (union) with the new scopes.

public Task<RedbObject<AuthorizationProps>> GrantAsync(long userId, long applicationId, IReadOnlyCollection<string> scopes, CancellationToken ct = default)