1 package types 2 3 const ( 4 // SessionIDField references the id of the session. 5 SessionIDField = "id" 6 // SessionUsernameField references the user's username stored in the session. 7 SessionUsernameField = "username" 8 // SessionUsernameField references the user's email address stored in the session. 9 SessionEmailField = "email" 10 // SessionTokenField references the user's token stored in the session. 11 SessionTokenField = "token" 12 // SessionRefreshTokenField references the user's refresh token stored in the session. This is only present in SSO login. 13 SessionRefreshTokenField = "refresh_token" 14 // SessionAuthTypeField references the auth type (bsl or okta) stored in the session. 15 SessionAuthTypeField = "auth_type" 16 // SessionCreationField references the time the session was created. 17 SessionCreationField = "created_on" 18 // SessionExpirationField references the time the session expires. 19 SessionExpirationField = "expires_on" 20 // SessionRolesField references the user's roles stored in the session. 21 SessionRolesField = "roles" 22 // SessionOrganizationField references the user's organization stored in the session. 23 SessionOrganizationField = "organization" 24 // SessionBannerEdgeIDs references the edge IDs of the assigned banners for the user in a session 25 SessionBannerEdgeIDs = "banner_edge_ids" 26 // SessionCorrelationID the correlation id to match the request with the log. 27 SessionCorrelationID = "correlation_id" 28 ) 29