func (c *MockClient) AuthenticateToken(ctx context.Context, customToken string) (string, error) {
	return "ehrid", nil
}
AuthenticateToken Verifies provided token and if valid, extracts eHRID from it.
package auth
import (
	"context"
	"github.com/covid19cz/erouska-backend/internal/firebase"
)
type Auther interface {
	CustomToken(ctx context.Context, uid string) (string, error)
	AuthenticateToken(ctx context.Context, customToken string) (string, error)
}
type Client struct{}
func (c *Client) CustomToken(ctx context.Context, uid string) (string, error) {
	client := firebase.FirebaseAuth
	return client.CustomToken(ctx, uid)
}
func (c *Client) AuthenticateToken(ctx context.Context, customToken string) (string, error) {
	client := firebase.FirebaseAuth
	token, err := client.VerifyIDToken(ctx, customToken)
	if err != nil {
		return "", err
	}
	return token.UID, nil
}
type MockClient struct{}
func (c *MockClient) CustomToken(uid string) (string, error) {
	return "abc", nil
}