auth

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInterceptor

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

AuthInterceptor

func NewAuthInterceptor

func NewAuthInterceptor(app string, pem []byte) (*AuthInterceptor, error)

NewAuthInterceptor

func (*AuthInterceptor) Stream

Stream

func (*AuthInterceptor) Unary

Unary

type AuthOptions

type AuthOptions struct {
	Claims     *jwt.StandardClaims
	PrivateKey []byte
}

AuthOptions

Jump to

Keyboard shortcuts

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