File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 4141
4242### Authentication
4343
44+ - [ added] A new [ ` VerifyIDTokenAndCheckRevoked() ` ] ( https://godoc.org/firebase.google.com/go/auth#Client.VerifyIDToken )
45+ function has been added to check for revoked ID tokens.
46+ - [ added] A new [ ` RevokeRefreshTokens() ` ] ( https://godoc.org/firebase.google.com/go/auth#Client.RevokeRefreshTokens )
47+ function has been added to invalidate all refresh tokens issued to a user.
48+ - [ added] A new property ` TokensValidAfterMillis ` has been added to the
49+ [ 'UserRecord'] ( https://godoc.org/firebase.google.com/go/auth#UserRecord )
50+ type, which stores the time of the revocation truncated to 1 second accuracy.
51+
52+ ### Cloud Messaging
53+
54+ - [ feature] Added the ` messaging ` package for sending Firebase notifications
55+ and managing topic subscriptions.
56+
57+ ### Authentication
58+
4459- [ added] A new [ ` VerifyIDTokenAndCheckRevoked() ` ] ( https://godoc.org/firebase.google.com/go/auth#Client.VerifyIDToken )
4560 function has been added to check for revoked ID tokens.
4661- [ added] A new [ ` RevokeRefreshTokens() ` ] ( https://godoc.org/firebase.google.com/go/auth#Client.RevokeRefreshTokens )
Original file line number Diff line number Diff line change @@ -102,6 +102,13 @@ type MockTokenSource struct {
102102 AccessToken string
103103}
104104
105+ // MessagingConfig represents the configuration of Firebase Cloud Messaging service.
106+ type MessagingConfig struct {
107+ Opts []option.ClientOption
108+ ProjectID string
109+ Version string
110+ }
111+
105112// Token returns the test token associated with the TokenSource.
106113func (ts * MockTokenSource ) Token () (* oauth2.Token , error ) {
107114 return & oauth2.Token {AccessToken : ts .AccessToken }, nil
You can’t perform that action at this time.
0 commit comments