コンソールへ移動

Callable

  • Gets the Auth service for the default app or a given app.

    admin.auth() can be called with no arguments to access the default app's Auth service or as admin.auth(app) to access the Auth service associated with a specific app.

    example
    // Get the Auth service for the default app
    var defaultAuth = admin.auth();
    example
    // Get the Auth service for a given app
    var otherAuth = admin.auth(otherApp);

    Parameters

    • Optional app: App

    Returns Auth

Index

Type aliases

HashAlgorithmType

HashAlgorithmType: "SCRYPT" | "STANDARD_SCRYPT" | "HMAC_SHA512" | "HMAC_SHA256" | "HMAC_SHA1" | "HMAC_MD5" | "MD5" | "PBKDF_SHA1" | "BCRYPT" | "PBKDF2_SHA256" | "SHA512" | "SHA256" | "SHA1"

UpdateAuthProviderRequest