 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package authgateway is used for all out bound calls to authenticate a User
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleToken2User ¶ added in v0.20.0
type GoogleToken2User struct{}
    GoogleToken2User is used to convert an auth.AccessToken to a User through Google's API
func (GoogleToken2User) User ¶ added in v0.20.0
func (c GoogleToken2User) User(ctx context.Context, token auth.AccessToken) (*user.User, error)
User calls the Google Userinfo API with the access token and converts the Userinfo struct to a User struct
 Click to show internal directories. 
   Click to hide internal directories.