Path: redb-identity/src/redb.Identity.Contracts/Applications/ApplicationResponse.cs Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Contracts/Applications/ApplicationResponse.cs ---- using System.Text.Json.Serialization; using redb.Identity.Contracts.Common; namespace redb.Identity.Contracts.Applications; public sealed class ApplicationResponse { [JsonPropertyName("id")] public string Id { get; set; } = string.Empty; [JsonPropertyName("clientId")] public string? ClientId { get; set; } [JsonPropertyName("displayName")] public string? DisplayName { get; set; } [JsonPropertyName("clientType")] public string? ClientType { get; set; } [JsonPropertyName("consentType")] public string? ConsentType { get; set; } [JsonPropertyName("applicationType")] public string? ApplicationType { get; set; } [JsonPropertyName("permissions")] public string[]? Permissions { get; set; } [JsonPropertyName("redirectUris")] public string[]? RedirectUris { get; set; } [JsonPropertyName("postLogoutRedirectUris")] public string[]? PostLogoutRedirectUris { get; set; } [JsonPropertyName("requirements")] public string[]? Requirements { get; set; } [JsonPropertyName("passwordResetUris")] public string[]? PasswordResetUris { get; set; } [JsonPropertyName("emailVerifyUris")] public string[]? EmailVerifyUris { get; set; } [JsonPropertyName("changeEmailUris")] public string[]? ChangeEmailUris { get; set; } [JsonPropertyName("concurrencyToken")] public string? ConcurrencyToken { get; set; } /// /// OIDC Back-Channel Logout 1.0 §2.2 endpoint. Absolute HTTPS (or http for /// localhost/dev) URL the server POSTs a signed logout_token to when /// the user's session is terminated. Null/empty disables back-channel /// logout for this client. /// [JsonPropertyName("backchannelLogoutUri")] public string? BackchannelLogoutUri { get; set; } /// /// OIDC Back-Channel Logout 1.0 §2.2 — when true, the dispatched /// logout_token includes a sid claim so the RP can /// invalidate the matching session. Defaults to true (RFC-recommended). /// [JsonPropertyName("backchannelLogoutSessionRequired")] public bool? BackchannelLogoutSessionRequired { get; set; } /// /// OAuth 2.1 §4.4 / RFC 9126 PAR mandatory flag. When true, this client's /// authorization requests must come via /connect/par first; direct calls to /// /connect/authorize are rejected with par_required. Null is false. /// [JsonPropertyName("requirePushedAuthorizationRequests")] public bool? RequirePushedAuthorizationRequests { get; set; } /// /// RFC 7517 JWKS document attached to this client. Used for (a) verifying /// the JWT bearer assertion when this client authenticates with /// client_secret_jwt / private_key_jwt, and (b) encrypting /// the issued id_token when ID-Token encryption is enabled. /// [JsonPropertyName("jsonWebKeySet")] public string? JsonWebKeySet { get; set; } /// /// Per-client access-token lifetime in seconds. Null means "use the global /// /// default" (1 h). Set to override only for this client — matches WSO2 IS 7.x /// "User access token expiry time". /// [JsonPropertyName("accessTokenLifetimeSeconds")] public int? AccessTokenLifetimeSeconds { get; set; } /// /// Per-client refresh-token lifetime in seconds. Null = global default (14 d). /// [JsonPropertyName("refreshTokenLifetimeSeconds")] public int? RefreshTokenLifetimeSeconds { get; set; } /// /// Per-client id_token lifetime in seconds. Null = global default (5 min). /// Matches WSO2 IS 7.x "ID Token expiry time". /// [JsonPropertyName("identityTokenLifetimeSeconds")] public int? IdentityTokenLifetimeSeconds { get; set; } /// /// Extra audiences appended to issued id_tokens. The client's own /// client_id is always included as an audience by default (OIDC core §2); /// these entries broaden the audience set so federated downstream resource /// servers can also accept the id_token. Matches WSO2 IS 7.x "Audience". /// [JsonPropertyName("idTokenAudiences")] public string[]? IdTokenAudiences { get; set; } /// /// Resource indicators carried by issued access_tokens as aud values /// (RFC 9068 §2.2), in addition to the Resources of the granted scopes. When neither /// names a resource the server's default audience ({issuer}/resources unless /// configured) is used. /// [JsonPropertyName("accessTokenAudiences")] public string[]? AccessTokenAudiences { get; set; } /// OIDC Dynamic Client Registration 1.0 §2 request_uris: registered JAR request_uri values. [JsonPropertyName("requestUris")] public string[]? RequestUris { get; set; } /// A.6: RFC 9101 — JWT signing alg for the request object. Advisory. [JsonPropertyName("requestObjectSigningAlg")] public string? RequestObjectSigningAlg { get; set; } /// A.6: JWE alg for the request object. Advisory. [JsonPropertyName("requestObjectEncryptionAlg")] public string? RequestObjectEncryptionAlg { get; set; } /// A.6: JWE enc for the request object. Advisory. [JsonPropertyName("requestObjectEncryptionEnc")] public string? RequestObjectEncryptionEnc { get; set; } /// /// A.7: client JWKS endpoint URL (RFC 7591 §2). Mutually exclusive with the /// inline field at the UI layer. /// [JsonPropertyName("jwksUri")] public string? JwksUri { get; set; } /// /// A.8: RFC 9449 — per-client opt-in to strict DPoP mode at the token endpoint. /// Null is treated as false. /// [JsonPropertyName("requireDpop")] public bool? RequireDpop { get; set; } /// A.10: skip RP-initiated logout consent prompt for this app. [JsonPropertyName("skipLogoutConsent")] public bool? SkipLogoutConsent { get; set; } /// A.10: mark application as a FIDO trusted relying party. [JsonPropertyName("isFidoTrusted")] public bool? IsFidoTrusted { get; set; } /// /// β: whitelist of group names allowed to authenticate against this app. /// Null/empty = any authenticated user. /// [JsonPropertyName("allowedGroups")] public string[]? AllowedGroups { get; set; } /// /// Plaintext client secret. Populated only by the rotate-secret endpoint /// (the one-time response that displays the freshly generated secret). All other /// list / read / create / update responses leave this null by design — /// secrets are stored as BCrypt hashes and cannot be recovered. Callers must /// persist the value immediately; subsequent reads will never expose it again. /// [OneTimeSecret] [JsonPropertyName("newSecret")] public string? NewSecret { get; set; } }