verifier

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package verifier provides a token verifier.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

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

Verifier is used to verify tokens.

func New

func New(clientID string) *Verifier

New creates a new Verifier.

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context, token string) error

Verify verifies the provided token.

Jump to

Keyboard shortcuts

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