docs
This commit is contained in:
@@ -57,10 +57,7 @@ type AuthService interface {
|
||||
ExtendSession(ctx context.Context, sessionToken string) error
|
||||
SignOut(ctx context.Context, sessionToken string) error
|
||||
|
||||
// MintFirebaseCustomToken returns a Firebase custom token with uid=humanId
|
||||
// and no custom claims. Network membership is enforced via a Firestore
|
||||
// mirror (humans/{humanId}.networks) read at rule eval time, so the token
|
||||
// only needs to carry identity.
|
||||
// MintFirebaseCustomToken returns a Firebase custom token with uid=humanId and no custom claims.
|
||||
MintFirebaseCustomToken(ctx context.Context, humanId string) (string, error)
|
||||
|
||||
IsSystemAdmin(ctx context.Context, email string) bool
|
||||
|
||||
Reference in New Issue
Block a user