googleapi

package
v0.0.0-...-1842cec Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents Google OAuth API client

func NewClient

func NewClient(ctx context.Context, googleOAuthClientID string, timeout time.Duration) (*Client, error)

NewClient creates a new Google OAuth client

func (*Client) ValidateIDToken

func (c *Client) ValidateIDToken(ctx context.Context, idToken string) (*idtoken.Payload, error)

ValidateIDToken validate google id token

Jump to

Keyboard shortcuts

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