Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetToken(ctx context.Context, code, redirectURL string) (*oauth2.Token, error) GetPerson(ctx context.Context, token *oauth2.Token) (*people.Person, error) }
Service - Google Oauth 2.0 service
func NewService ¶
NewService - create new google oauth2 service implementation
Click to show internal directories.
Click to hide internal directories.