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.
Click to show internal directories.
Click to hide internal directories.