Skip to content

Commit

Permalink
Merge pull request #322 from companieshouse/feature/idva2-806-add-add…
Browse files Browse the repository at this point in the history
…itional-scope

add AdditionalScope to Signin key and Session Interface
  • Loading branch information
SteveHicksCH authored Aug 8, 2024
2 parents f13b86e + b4a4d71 commit 0ad2487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/session/keys/SignInInfoKeys.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export enum SignInInfoKeys {
AccessToken = "access_token",
AdditionalScope = "additional_scope",
AdminPermissions = "admin_permissions",
CompanyNumber = "company_number",
SignedIn = "signed_in",
Expand Down
1 change: 1 addition & 0 deletions src/session/model/SessionInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export type ISession = {

export type ISignInInfo = {
[SignInInfoKeys.AccessToken]?: IAccessToken,
[SignInInfoKeys.AdditionalScope]?: string;
[SignInInfoKeys.AdminPermissions]?: string,
[SignInInfoKeys.CompanyNumber]?: string,
[SignInInfoKeys.SignedIn]?: number,
Expand Down

0 comments on commit 0ad2487

Please sign in to comment.