Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (sdk.UserService, error)
New - Creates a new instance of the Identity Platform auth plugin
func NewWithClient ¶
func NewWithClient(client FirebaseAuth) sdk.UserService
Types ¶
type FirebaseAuth ¶
type FirebaseAuth interface {
TenantManager() FirebaseTenantManager
}
func AdaptFirebaseAuth ¶
func AdaptFirebaseAuth(client *auth.Client) FirebaseAuth
type FirebaseTenantClient ¶
type FirebaseTenantClient interface {
CreateUser(context.Context, *UserToCreate) (*auth.UserRecord, error)
}
type FirebaseTenantManager ¶
type FirebaseTenantManager interface {
Tenants(context.Context, string) TenantIterator
AuthForTenant(tenantId string) (FirebaseTenantClient, error)
CreateTenant(context.Context, *TenantToCreate) (*auth.Tenant, error)
}
func AdaptTenantManager ¶
func AdaptTenantManager(client *auth.TenantManager) FirebaseTenantManager
type IdentityPlatformAuthService ¶
type IdentityPlatformAuthService struct {
sdk.UnimplementedAuthPlugin
// contains filtered or unexported fields
}
IdentityPlatformAuthService - GCP Identity Platform implementation of the Nitric Auth plugin interface
type TenantIterator ¶
type TenantToCreate ¶
Click to show internal directories.
Click to hide internal directories.