Versions in this module Expand all Collapse all v1 v1.0.0 Feb 21, 2017 Changes in this version + const FirebaseKeyURL + const HeaderCacheControl + const IssPrefix + var ErrCacheControlHeaderLacksMaxAge = errors.New("cache control header doesn't contain a max age") + var ErrNilToken = errors.New("Empty authorizatin token") + var ErrNotIssuedYet = errors.New("Token not issued yet") + var ErrRSAVerification = errors.New("crypto/rsa: verification error") + func GetKeys(tokens map[string]interface{}, keyURL string) (int64, error) + type FireAuth struct + Clock clock.Clock + IssPrefix string + KeyURL string + ProjectID string + func New(projectID string) (*FireAuth, error) + func (fb *FireAuth) UpdatePublicKeys() error + func (fb *FireAuth) Verify(accessToken string) (string, jwt.Claims, error) + type TokenVerifier interface + Verify func(token string) (userID string, claims jwt.Claims, err error)