type google.golang.org/api/idtoken.ClientOption
10 uses
google.golang.org/api/idtoken (current package)
idtoken.go#L26: type ClientOption = option.ClientOption
idtoken.go#L32: func NewClient(ctx context.Context, audience string, opts ...ClientOption) (*http.Client, error) {
idtoken.go#L67: func NewTokenSource(ctx context.Context, audience string, opts ...ClientOption) (oauth2.TokenSource, error) {
idtoken.go#L146: func WithCustomClaims(customClaims map[string]interface{}) ClientOption {
idtoken.go#L159: func WithCredentialsFile(filename string) ClientOption {
idtoken.go#L166: func WithCredentialsJSON(p []byte) ClientOption {
idtoken.go#L174: func WithHTTPClient(client *http.Client) ClientOption {
validate.go#L90: func NewValidator(ctx context.Context, opts ...ClientOption) (*Validator, error) {
golang.org/x/pkgsite/internal/auth
auth.go#L57: func idtokenArgs(jsonCreds []byte, useExp bool) (string, []idtoken.ClientOption) {
auth.go#L58: var opts []idtoken.ClientOption
 |
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. |