Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ public sealed partial class GetConnectorTokenResponse
[global::System.Text.Json.Serialization.JsonPropertyName("externalSubject")]
public string? ExternalSubject { get; set; }

/// <summary>
/// Stable id correlating all tokens (including refreshes) back to the original authorization.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("authorizationId")]
public string? AuthorizationId { get; set; }

/// <summary>
/// Stable id that groups all tokens with the same parameters across refreshes.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tokenGroupId")]
public string? TokenGroupId { get; set; }

/// <summary>
/// Claims extracted from the provider's tokens per the connector's `ForwardedClaims` allow-list. Currently sourced from the OIDC id_token only.
/// </summary>
Expand Down Expand Up @@ -89,6 +101,12 @@ public sealed partial class GetConnectorTokenResponse
/// <param name="installationId"></param>
/// <param name="tenantId"></param>
/// <param name="externalSubject"></param>
/// <param name="authorizationId">
/// Stable id correlating all tokens (including refreshes) back to the original authorization.
/// </param>
/// <param name="tokenGroupId">
/// Stable id that groups all tokens with the same parameters across refreshes.
/// </param>
/// <param name="claims">
/// Claims extracted from the provider's tokens per the connector's `ForwardedClaims` allow-list. Currently sourced from the OIDC id_token only.
/// </param>
Expand All @@ -107,6 +125,8 @@ public GetConnectorTokenResponse(
string? installationId,
string? tenantId,
string? externalSubject,
string? authorizationId,
string? tokenGroupId,
object? claims,
object? metadata)
{
Expand All @@ -118,6 +138,8 @@ public GetConnectorTokenResponse(
this.InstallationId = installationId;
this.TenantId = tenantId;
this.ExternalSubject = externalSubject;
this.AuthorizationId = authorizationId;
this.TokenGroupId = tokenGroupId;
this.Claims = claims;
this.Metadata = metadata;
}
Expand Down
8 changes: 8 additions & 0 deletions src/libs/Vercel/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12888,6 +12888,14 @@
"externalSubject": {
"type": "string"
},
"authorizationId": {
"type": "string",
"description": "Stable id correlating all tokens (including refreshes) back to the original authorization."
},
"tokenGroupId": {
"type": "string",
"description": "Stable id that groups all tokens with the same parameters across refreshes."
},
"claims": {
"additionalProperties": true,
"type": "object",
Expand Down