iamfirebase

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package iamfirebase provides Firebase-specific IAM primitives. See: https://firebase.google.com/docs/rules/rules-and-auth

Index

Constants

View Source
const Issuer = "https://securetoken.google.com"

Issuer is the issuer of Firebase ID tokens.

Variables

This section is empty.

Functions

func IsFirebaseIdentityToken added in v0.36.0

func IsFirebaseIdentityToken(token *iamv1.IdentityToken) bool

IsFirebaseIdentityToken returns true if the JWT payload is from a Firebase ID token. See: https://firebase.google.com/docs/rules/rules-and-auth

func ProjectID

func ProjectID(token *iamv1.IdentityToken) string

ProjectID returns the token payload's Firebase project ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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