Documentation ¶
Overview ¶
*
- Copyright 2020 Whiteblock Inc. All rights reserved.
- Use of this source code is governed by a BSD-style
- license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type UserContext ¶
type UserContext struct { KeycloakID string `json:"sub"` Username string `json:"preferred_username"` Email string `json:"email"` }
func GetUserContext ¶
func GetUserContext(token *oidc.IDToken) (*UserContext, error)
Click to show internal directories.
Click to hide internal directories.