golang.org/x/oauth2.Token.Expiry (field)
11 uses
golang.org/x/oauth2 (current package)
token.go#L50: Expiry time.Time `json:"expiry,omitempty"`
token.go#L127: if t.Expiry.IsZero() {
token.go#L130: return t.Expiry.Round(0).Add(-expiryDelta).Before(timeNow())
token.go#L148: Expiry: t.Expiry,
golang.org/x/oauth2/google
google.go#L200: Expiry: time.Now().Add(time.Duration(res.ExpiresInSec) * time.Second),
jwt.go#L73: return &oauth2.Token{AccessToken: msg, TokenType: "Bearer", Expiry: exp}, nil
sdk.go#L115: Expiry: expiry,
golang.org/x/oauth2/jwt
jwt.go#L168: token.Expiry = time.Now().Add(time.Duration(secs) * time.Second)
jwt.go#L176: token.Expiry = time.Unix(claimSet.Exp, 0)
google.golang.org/api/idtoken
compute.go#L54: Expiry: time.Now().Add(55 * time.Minute),
google.golang.org/api/internal/impersonate
impersonate.go#L126: Expiry: expiry,
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |