ginauth

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 6 Imported by: 2

README

ginauth

Gin middleware for authentication

Documentation

Index

Constants

View Source
const FirebaseAuthTokenKey = "firebaseToken"

Variables

This section is empty.

Functions

func NewAuthorizer

func NewAuthorizer(p Provider) gin.HandlerFunc

Types

type FirebaseAuthProvider

type FirebaseAuthProvider struct {
	Client firebaseClient
}

type Provider

type Provider interface {
	// contains filtered or unexported methods
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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