Skip to content

Commit

Permalink
add missing scope
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-zijdemans-vipps committed Jan 14, 2024
1 parent 8798e9a commit a33d2e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/apis/types/shared_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,18 @@ type UnionConcat<
: ""}`
: "";

/**
* See documentation of scopes here:
* https://developer.vippsmobilepay.com/docs/APIs/login-api/api-guide/core-concepts/#scopes
*/
export type ValidUserScopes =
| "openid"
| "address"
| "birthDate"
| "email"
| "name"
| "phoneNumber"
| "nnin";
| "nin"
| "delegatedConsents";

export type Scope = UnionConcat<ValidUserScopes, " ">;

0 comments on commit a33d2e8

Please sign in to comment.