RefreshTokenReusePolicyCheck Class
Refuses a tenant declaring a client whose refresh token reuse policy is not one of the values the policy defines, and warns of a client whose Reuse the rotation policy does not follow for every token.
public sealed class RefreshTokenReusePolicyCheck : Abblix.Oidc.Server.Features.MultiTenancy.ITenantsCheckInheritance System.Object → RefreshTokenReusePolicyCheck
Implements ITenantsCheck
Remarks
A configuration binder takes a number outside the defined values as it stands, so the client would pass startup and fail the first token request that issues it a refresh token. Reuse for a public client not requiring DPoP is served, but its tokens bound to no key rotate (RFC 9700 section 2.2.2), so the host is told rather than left to believe they are reused. The settings are validated again for every request scope and a tenant store is read again every period, so a client is warned of once, and again only after its setting stopped calling for it.
Constructors
RefreshTokenReusePolicyCheck(ILogger<RefreshTokenReusePolicyCheck>) Constructor
Refuses a tenant declaring a client whose refresh token reuse policy is not one of the values the policy defines, and warns of a client whose Reuse the rotation policy does not follow for every token.
public RefreshTokenReusePolicyCheck(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Common.Configuration.RefreshTokenReusePolicyCheck> logger);Parameters
logger Microsoft.Extensions.Logging.ILogger<RefreshTokenReusePolicyCheck>
Records each client whose Reuse is not followed for every token.
Remarks
A configuration binder takes a number outside the defined values as it stands, so the client would pass startup and fail the first token request that issues it a refresh token. Reuse for a public client not requiring DPoP is served, but its tokens bound to no key rotate (RFC 9700 section 2.2.2), so the host is told rather than left to believe they are reused. The settings are validated again for every request scope and a tenant store is read again every period, so a client is warned of once, and again only after its setting stopped calling for it.
Methods
RefreshTokenReusePolicyCheck.Check(IReadOnlyCollection<TenantDefinition>, OidcOptions) Method
What is wrong with tenants, judged as the whole list the server would serve with the server's own settings options.
public System.Collections.Generic.IEnumerable<Abblix.Oidc.Server.Features.MultiTenancy.TenantRefusal> Check(System.Collections.Generic.IReadOnlyCollection<Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition> tenants, Abblix.Oidc.Server.Common.Configuration.OidcOptions options);Parameters
tenants System.Collections.Generic.IReadOnlyCollection<TenantDefinition>
options OidcOptions
Implements Check(IReadOnlyCollection<TenantDefinition>, OidcOptions)
Returns
System.Collections.Generic.IEnumerable<TenantRefusal>
Remarks
The server's settings are handed in rather than read from the options pipeline, since the list the settings declare is judged while those very settings are being validated.