authgateway

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL