Skip to content

Commit

Permalink
Types for PersistentBrowserSessionMode
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Nov 25, 2021
1 parent b7b57c5 commit 3dd41c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msgraph/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -1102,8 +1102,8 @@ type PermissionScope struct {
}

type PersistentBrowserSessionControl struct {
IsEnabled *bool `json:"isEnabled,omitempty"`
Mode *string `json:"mode,omitempty"`
IsEnabled *bool `json:"isEnabled,omitempty"`
Mode *PersistentBrowserSessionMode `json:"mode,omitempty"`
}

type PhoneAuthenticationMethod struct {
Expand Down
7 changes: 7 additions & 0 deletions msgraph/valuetypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,13 @@ const (
PermissionScopeTypeUser PermissionScopeType = "User"
)

type PersistentBrowserSessionMode = string

const (
PersistentBrowserSessionModeAlways PersistentBrowserSessionMode = "always"
PersistentBrowserSessionModeNever PersistentBrowserSessionMode = "never"
)

type PreferredSingleSignOnMode = StringNullWhenEmpty

const (
Expand Down

0 comments on commit 3dd41c0

Please sign in to comment.