AuthKt
public final class AuthKt
Summary
Public methods
actionCodeSettings
public static final @NonNull ActionCodeSettings actionCodeSettings(
@ExtensionFunctionType @NonNull Function1<@NonNull ActionCodeSettings.Builder, Unit> 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.CredentialBuilder, Unit> 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.Builder, Unit> 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.Builder, Unit> init
)
Returns an OAuthProvider
instance initialized using the init
function.
userProfileChangeRequest
public static final @NonNull UserProfileChangeRequest userProfileChangeRequest(
@ExtensionFunctionType @NonNull Function1<@NonNull UserProfileChangeRequest.Builder, Unit> init
)
Returns an UserProfileChangeRequest
instance initialized using the init
function.