Versions in this module Expand all Collapse all v0 v0.0.1 Nov 25, 2022 Changes in this version + func FirebaseMiddleware(v FirebaseTokenVerifier) func(http.Handler) http.Handler + func NewContext(ctx context.Context, a Auth) context.Context + func NewFirebaseAuthClient(firebaseProjectID string) (*firebaseauth.Client, error) + func SEP10Middleware(issuer string, ks jose.JSONWebKeySet) func(http.Handler) http.Handler + type Auth struct + Address string + Email string + PhoneNumber string + func FromContext(ctx context.Context) (Auth, bool) + type FirebaseTokenVerifier interface + Verify func(r *http.Request) (*firebaseauth.Token, bool) + type FirebaseTokenVerifierFunc func(r *http.Request) (*firebaseauth.Token, bool) + func (v FirebaseTokenVerifierFunc) Verify(r *http.Request) (*firebaseauth.Token, bool) + type FirebaseTokenVerifierLive struct + AuthClient *firebaseauth.Client + func (v FirebaseTokenVerifierLive) Verify(r *http.Request) (*firebaseauth.Token, bool)