Skip to content

Commit

Permalink
chore: removed first party flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Jan 22, 2025
1 parent d416e00 commit 8eca880
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/siop-oid4vp/lib/authorization-response/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const createResponsePayload = async (
...(responseOpts.accessToken && { access_token: responseOpts.accessToken, expires_in: responseOpts.expiresIn || 3600 }),
...(responseOpts.tokenType && { token_type: responseOpts.tokenType }),
...(responseOpts.refreshToken && { refresh_token: responseOpts.refreshToken }),
...(responseOpts.isFirstParty && { is_first_party: responseOpts.isFirstParty }),
state,
}

Expand Down
1 change: 0 additions & 1 deletion packages/siop-oid4vp/lib/authorization-response/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export interface AuthorizationResponseOpts {
tokenType?: string
refreshToken?: string
presentationExchange?: PresentationExchangeResponseOpts
isFirstParty?: boolean
}

export interface PresentationExchangeResponseOpts {
Expand Down
1 change: 0 additions & 1 deletion packages/siop-oid4vp/lib/op/OP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export class OP {
issuer?: ResponseIss | string
verification?: Verification
presentationExchange?: PresentationExchangeResponseOpts
isFirstParty?: boolean
},
): Promise<AuthorizationResponseWithCorrelationId> {
if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ export const AuthorizationResponseOptsSchemaObj = {
},
"presentationExchange": {
"$ref": "#/definitions/PresentationExchangeResponseOpts"
},
"isFirstParty": {
"type": "boolean"
}
},
"required": [
Expand Down
1 change: 0 additions & 1 deletion packages/siop-oid4vp/lib/types/SIOP.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ export interface AuthorizationResponsePayload {
| MdocOid4vpMdocVpToken
presentation_submission?: PresentationSubmission
verifiedData?: IPresentation | AdditionalClaims
is_first_party?: boolean
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[x: string]: any
}
Expand Down

0 comments on commit 8eca880

Please sign in to comment.