View definition

func StaticTokenSource

Defined in github.com/golang/oauth2/oauth2.go

Description

StaticTokenSource returns a TokenSource that always returns the same token. Because the provided token t is never refreshed, StaticTokenSource is only useful for tokens that never expire.

StaticTokenSource is referenced in 75 repositories

github.com/h3poteto/fascia github.com/google/git-pull-request-mirror github.com/shurcooL/play

...