type google.golang.org/api/idtoken.Validator
8 uses
google.golang.org/api/idtoken (current package)
validate.go#L32: defaultValidator = &Validator{client: newCachingClient(http.DefaultClient)}
validate.go#L84: type Validator struct {
validate.go#L90: func NewValidator(ctx context.Context, opts ...ClientOption) (*Validator, error) {
validate.go#L95: return &Validator{client: newCachingClient(client)}, nil
validate.go#L102: func (v *Validator) Validate(ctx context.Context, idToken string, audience string) (*Payload, error) {
validate.go#L115: func (v *Validator) validate(ctx context.Context, idToken string, audience string) (*Payload, error) {
validate.go#L157: func (v *Validator) validateRS256(ctx context.Context, keyID string, hashedContent []byte, sig []byte) error {
validate.go#L182: func (v *Validator) validateES256(ctx context.Context, keyID string, hashedContent []byte, sig []byte) error {
 |
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. |