AuthKt

public final class AuthKt


Summary

Public methods

static final @NonNull ActionCodeSettings

Returns an ActionCodeSettings instance initialized using the init function.

static final @NonNull FirebaseAuth

Returns the FirebaseAuth instance of a given FirebaseApp.

static final @NonNull FirebaseAuth

Returns the FirebaseAuth instance of the default FirebaseApp.

static final @NonNull AuthCredential

Returns an OAuth AuthCredential instance initialized using the init function.

static final @NonNull OAuthProvider
oAuthProvider(
    @NonNull String providerId,
    @ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.BuilderUnit> init
)

Returns an OAuthProvider instance initialized using the init function.

static final @NonNull OAuthProvider
oAuthProvider(
    @NonNull String providerId,
    @NonNull FirebaseAuth firebaseAuth,
    @ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.BuilderUnit> init
)

Returns an OAuthProvider instance initialized using the init function.

static final @NonNull UserProfileChangeRequest

Returns an UserProfileChangeRequest instance initialized using the init function.

Public methods

actionCodeSettings

public static final @NonNull ActionCodeSettings actionCodeSettings(
    @ExtensionFunctionType @NonNull Function1<@NonNull ActionCodeSettings.BuilderUnit> init
)

Returns an ActionCodeSettings instance initialized using the init function.

auth

public static final @NonNull FirebaseAuth auth(@NonNull Firebase receiver, @NonNull FirebaseApp app)

Returns the FirebaseAuth instance of a given FirebaseApp.

getAuth

public static final @NonNull FirebaseAuth getAuth(@NonNull Firebase receiver)

Returns the FirebaseAuth instance of the default FirebaseApp.

oAuthCredential

public static final @NonNull AuthCredential oAuthCredential(
    @NonNull String providerId,
    @ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.CredentialBuilderUnit> init
)

Returns an OAuth AuthCredential instance initialized using the init function.

oAuthProvider

public static final @NonNull OAuthProvider oAuthProvider(
    @NonNull String providerId,
    @ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.BuilderUnit> init
)

Returns an OAuthProvider instance initialized using the init function.

oAuthProvider

public static final @NonNull OAuthProvider oAuthProvider(
    @NonNull String providerId,
    @NonNull FirebaseAuth firebaseAuth,
    @ExtensionFunctionType @NonNull Function1<@NonNull OAuthProvider.BuilderUnit> init
)

Returns an OAuthProvider instance initialized using the init function.

userProfileChangeRequest

public static final @NonNull UserProfileChangeRequest userProfileChangeRequest(
    @ExtensionFunctionType @NonNull Function1<@NonNull UserProfileChangeRequest.BuilderUnit> init
)

Returns an UserProfileChangeRequest instance initialized using the init function.