From 2e5aafdb5a9efff7020fcc1922db876aaf1c33bb Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Tue, 7 Feb 2023 14:06:43 +0100 Subject: [PATCH] docs(authentication): add full dartdoc --- .gitignore | 7 +- packages/wyatt_authentication_bloc/.gitignore | 1 - .../doc/api/__404error.md | 6 + .../doc/api/categories.json | 1 + .../doc/api/index.json | 1 + .../doc/api/index.md | 214 ++++++ .../doc/api/search.md | 6 + .../Account-class.md | 237 ++++++ .../Account/Account.md | 43 ++ .../Account/accessToken.md | 34 + .../Account/creationTime.md | 35 + .../Account/email.md | 35 + .../Account/emailVerified.md | 35 + .../wyatt_authentication_bloc/Account/id.md | 34 + .../Account/isAnonymous.md | 34 + .../Account/isNewUser.md | 34 + .../Account/lastSignInTime.md | 34 + .../Account/phoneNumber.md | 36 + .../Account/photoURL.md | 36 + .../Account/props.md | 55 ++ .../Account/providerId.md | 34 + .../Account/refreshToken.md | 34 + .../Account/stringify.md | 47 ++ .../AccountModel-class.md | 247 ++++++ .../AccountModel.fromFirebaseUser.md | 51 ++ ...AccountModel.fromFirebaseUserCredential.md | 54 ++ .../AccountModel/refreshToken.md | 41 + .../AccountModel/user.md | 33 + .../ApplyActionCodeFailureFirebase-class.md | 137 ++++ ...ApplyActionCodeFailureFirebase.fromCode.md | 49 ++ .../ApplyActionCodeFailureFirebase.md | 31 + .../ApplyActionCodeFailureInterface-class.md | 139 ++++ ...pplyActionCodeFailureInterface.fromCode.md | 31 + .../ApplyActionCodeFailureInterface.md | 31 + .../AuthFormField-class.md | 122 +++ .../AuthFormField/AuthFormField.md | 25 + .../AuthFormField/confirmPassword-constant.md | 34 + .../AuthFormField/email-constant.md | 34 + .../AuthFormField/password-constant.md | 34 + .../AuthFormName-class.md | 131 ++++ .../AuthFormName/AuthFormName.md | 25 + .../AuthFormName/editAccountForm-constant.md | 34 + .../passwordResetForm-constant.md | 34 + .../AuthFormName/signInForm-constant.md | 34 + .../AuthFormName/signUpForm-constant.md | 34 + .../AuthenticationBuilder-class.md | 216 ++++++ .../AuthenticationBuilder.md | 35 + .../AuthenticationBuilder/authenticated.md | 36 + .../AuthenticationBuilder/build.md | 85 ++ .../AuthenticationBuilder/unauthenticated.md | 33 + .../AuthenticationBuilder/unknown.md | 33 + .../AuthenticationChangeEvent-class.md | 137 ++++ .../AuthenticationChangeEvent.md | 30 + .../AuthenticationChangeEvent/props.md | 42 + .../AuthenticationChangeEvent/stringify.md | 47 ++ .../AuthenticationCubit-class.md | 292 +++++++ .../AuthenticationCubit.md | 34 + .../authenticationRepository.md | 33 + .../AuthenticationCubit/currentSession.md | 37 + .../AuthenticationCubit/delete.md | 44 ++ .../AuthenticationCubit/onDelete.md | 38 + .../AuthenticationCubit/onReauthenticate.md | 38 + .../AuthenticationCubit/onRefresh.md | 37 + .../AuthenticationCubit/onSignInFromCache.md | 38 + .../AuthenticationCubit/onSignOut.md | 37 + .../AuthenticationCubit/reauthenticate.md | 53 ++ .../AuthenticationCubit/refresh.md | 49 ++ .../AuthenticationCubit/signOut.md | 43 ++ .../AuthenticationFailureInterface-class.md | 159 ++++ ...AuthenticationFailureInterface.fromCode.md | 31 + .../AuthenticationFailureInterface.md | 30 + .../AuthenticationFailureInterface/code.md | 33 + .../AuthenticationFailureInterface/message.md | 40 + .../AuthenticationFailureInterface/msg.md | 33 + .../toString.md | 53 ++ ...henticationFirebaseDataSourceImpl-class.md | 251 ++++++ .../AuthenticationFirebaseDataSourceImpl.md | 40 + .../addSession.md | 40 + .../confirmPasswordReset.md | 53 ++ .../delete.md | 48 ++ .../reauthenticate.md | 61 ++ .../refresh.md | 52 ++ .../sendEmailVerification.md | 47 ++ .../sendPasswordResetEmail.md | 47 ++ .../sessionStream.md | 39 + .../signInAnonymously.md | 54 ++ .../signInWithEmailAndPassword.md | 61 ++ .../signInWithGoogle.md | 68 ++ .../signOut.md | 46 ++ .../signUpWithEmailAndPassword.md | 62 ++ .../updateEmail.md | 55 ++ .../updatePassword.md | 55 ++ .../verifyPasswordResetCode.md | 48 ++ .../AuthenticationRemoteDataSource-class.md | 247 ++++++ .../AuthenticationRemoteDataSource.md | 25 + .../addSession.md | 35 + .../confirmPasswordReset.md | 38 + .../AuthenticationRemoteDataSource/delete.md | 35 + .../reauthenticate.md | 35 + .../AuthenticationRemoteDataSource/refresh.md | 35 + .../sendEmailVerification.md | 35 + .../sendPasswordResetEmail.md | 35 + .../sessionStream.md | 35 + .../signInAnonymously.md | 35 + .../signInWithEmailAndPassword.md | 38 + .../signInWithGoogle.md | 35 + .../AuthenticationRemoteDataSource/signOut.md | 35 + .../signUpWithEmailAndPassword.md | 38 + .../updateEmail.md | 35 + .../updatePassword.md | 35 + .../verifyPasswordResetCode.md | 35 + .../AuthenticationRepository-class.md | 258 +++++++ .../AuthenticationRepository.md | 25 + .../AuthenticationRepository/addSession.md | 36 + .../confirmPasswordReset.md | 40 + .../AuthenticationRepository/delete.md | 38 + .../formRepository.md | 37 + .../reauthenticate.md | 40 + .../AuthenticationRepository/refresh.md | 36 + .../sendEmailVerification.md | 37 + .../sendPasswordResetEmail.md | 37 + .../AuthenticationRepository/sessionStream.md | 36 + .../signInAnonymously.md | 37 + .../signInWithEmailAndPassword.md | 41 + .../signInWithGoogle.md | 37 + .../AuthenticationRepository/signOut.md | 37 + .../signUpWithEmailAndPassword.md | 42 + .../AuthenticationRepository/updateEmail.md | 40 + .../updatePassword.md | 40 + .../verifyPasswordResetCode.md | 37 + .../AuthenticationRepositoryImpl-class.md | 269 +++++++ .../AuthenticationRepositoryImpl.md | 69 ++ .../addSession.md | 39 + .../authenticationRemoteDataSource.md | 33 + .../confirmPasswordReset.md | 51 ++ .../AuthenticationRepositoryImpl/delete.md | 44 ++ .../formRepository.md | 41 + .../reauthenticate.md | 49 ++ .../AuthenticationRepositoryImpl/refresh.md | 45 ++ .../sendEmailVerification.md | 45 ++ .../sendPasswordResetEmail.md | 47 ++ .../sessionStream.md | 39 + .../signInAnonymously.md | 47 ++ .../signInWithEmailAndPassword.md | 54 ++ .../signInWithGoogle.md | 47 ++ .../AuthenticationRepositoryImpl/signOut.md | 45 ++ .../signUpWithEmailAndPassword.md | 55 ++ .../updateEmail.md | 48 ++ .../updatePassword.md | 49 ++ .../verifyPasswordResetCode.md | 47 ++ .../AuthenticationState-class.md | 150 ++++ .../AuthenticationState.authenticated.md | 34 + .../AuthenticationState.unauthenticated.md | 31 + .../AuthenticationState.unknown.md | 31 + .../AuthenticationState/props.md | 42 + .../AuthenticationState/status.md | 33 + .../AuthenticationState/stringify.md | 47 ++ .../AuthenticationState/wrapper.md | 33 + .../AuthenticationStatus.md | 151 ++++ .../AuthenticationStatus.md | 25 + .../AuthenticationStatus/values-constant.md | 29 + .../BaseEditAccountCubit-class.md | 261 +++++++ .../BaseEditAccountCubit.md | 37 + .../authenticationRepository.md | 33 + .../BaseEditAccountCubit/dataChanged.md | 53 ++ .../BaseEditAccountCubit/formName.md | 40 + .../BaseEditAccountCubit/formRepository.md | 36 + .../BaseEditAccountCubit/reset.md | 43 ++ .../BaseEditAccountCubit/submit.md | 48 ++ .../BaseEditAccountCubit/update.md | 48 ++ .../BaseEditAccountCubit/validate.md | 42 + .../BaseSignInCubit-class.md | 261 +++++++ .../BaseSignInCubit/BaseSignInCubit.md | 37 + .../authenticationRepository.md | 33 + .../BaseSignInCubit/dataChanged.md | 53 ++ .../BaseSignInCubit/formName.md | 40 + .../BaseSignInCubit/formRepository.md | 36 + .../BaseSignInCubit/reset.md | 43 ++ .../BaseSignInCubit/submit.md | 48 ++ .../BaseSignInCubit/update.md | 48 ++ .../BaseSignInCubit/validate.md | 42 + .../BaseSignUpCubit-class.md | 261 +++++++ .../BaseSignUpCubit/BaseSignUpCubit.md | 37 + .../authenticationRepository.md | 33 + .../BaseSignUpCubit/dataChanged.md | 53 ++ .../BaseSignUpCubit/formName.md | 40 + .../BaseSignUpCubit/formRepository.md | 36 + .../BaseSignUpCubit/reset.md | 43 ++ .../BaseSignUpCubit/submit.md | 49 ++ .../BaseSignUpCubit/update.md | 51 ++ .../BaseSignUpCubit/validate.md | 42 + .../BuildContextExtension.md | 76 ++ .../BuildContextExtension/account.md | 37 + .../BuildContextExtension/data.md | 37 + .../BuildContextExtension/session.md | 37 + .../BuildContextExtension/wrapper.md | 37 + ...nfirmPasswordResetFailureFirebase-class.md | 137 ++++ ...rmPasswordResetFailureFirebase.fromCode.md | 30 + .../ConfirmPasswordResetFailureFirebase.md | 31 + ...firmPasswordResetFailureInterface-class.md | 139 ++++ ...mPasswordResetFailureInterface.fromCode.md | 31 + .../ConfirmPasswordResetFailureInterface.md | 31 + .../CustomRoutine-class.md | 139 ++++ .../CustomRoutine/CustomRoutine.md | 35 + .../CustomRoutine/attachedLogic.md | 35 + .../CustomRoutine/call.md | 55 ++ .../CustomRoutine/onError.md | 33 + .../CustomRoutine/onSuccess.md | 33 + .../CustomRoutine/routine.md | 33 + .../DeleteAccountFailureFirebase-class.md | 137 ++++ .../DeleteAccountFailureFirebase.fromCode.md | 39 + .../DeleteAccountFailureFirebase.md | 31 + .../DeleteAccountFailureInterface-class.md | 139 ++++ .../DeleteAccountFailureInterface.fromCode.md | 30 + .../DeleteAccountFailureInterface.md | 30 + .../DeletedEvent-class.md | 126 +++ .../DeletedEvent/DeletedEvent.md | 30 + .../EditAccountCubit-class.md | 335 ++++++++ .../EditAccountCubit/EditAccountCubit.md | 30 + .../EditAccountCubit/onEmailUpdated.md | 42 + .../EditAccountCubit/onPasswordUpdated.md | 42 + .../EditAccountListener-class.md | 236 ++++++ .../EditAccountListener.md | 37 + .../EditAccountListener/build.md | 92 +++ .../EditAccountListener/child.md | 33 + .../EditAccountListener/customBuilder.md | 34 + .../EditAccountListener/onError.md | 37 + .../EditAccountListener/onProgress.md | 33 + .../EditAccountListener/onSuccess.md | 33 + .../EditAccountState-class.md | 179 +++++ .../EditAccountState/EditAccountState.md | 34 + .../EditAccountState/copyWith.md | 44 ++ .../EditAccountState/email.md | 37 + .../EditAccountState/errorMessage.md | 34 + .../EditAccountState/form.md | 34 + .../EditAccountState/password.md | 37 + .../EditAccountState/props.md | 42 + .../EditAccountState/status.md | 34 + .../EditAccountState/toString.md | 48 ++ .../EmailVerificationBuilder-class.md | 225 ++++++ .../EmailVerificationBuilder.md | 36 + .../EmailVerificationBuilder/build.md | 91 +++ .../EmailVerificationBuilder/customBuilder.md | 34 + .../EmailVerificationBuilder/notVerified.md | 33 + .../EmailVerificationBuilder/onError.md | 37 + .../EmailVerificationBuilder/verified.md | 33 + .../EmailVerificationCubit-class.md | 211 +++++ .../EmailVerificationCubit.md | 32 + .../authenticationRepository.md | 33 + .../checkEmailVerification.md | 65 ++ .../sendEmailVerification.md | 47 ++ .../EmailVerificationState-class.md | 160 ++++ .../EmailVerificationState.md | 34 + .../EmailVerificationState/copyWith.md | 44 ++ .../EmailVerificationState/errorMessage.md | 33 + .../EmailVerificationState/isVerified.md | 33 + .../EmailVerificationState/props.md | 42 + .../EmailVerificationState/status.md | 33 + .../EmailVerificationState/toString.md | 49 ++ ...nInMethodsForEmailFailureFirebase-class.md | 137 ++++ ...MethodsForEmailFailureFirebase.fromCode.md | 40 + ...tchSignInMethodsForEmailFailureFirebase.md | 31 + ...InMethodsForEmailFailureInterface-class.md | 139 ++++ ...ethodsForEmailFailureInterface.fromCode.md | 32 + ...chSignInMethodsForEmailFailureInterface.md | 31 + .../ModelParsingFailureFirebase-class.md | 137 ++++ .../ModelParsingFailureFirebase.fromCode.md | 30 + .../ModelParsingFailureFirebase.md | 31 + .../ModelParsingFailureInterface-class.md | 139 ++++ .../ModelParsingFailureInterface.fromCode.md | 30 + .../ModelParsingFailureInterface.md | 30 + .../PasswordResetCubit-class.md | 275 +++++++ .../PasswordResetCubit/PasswordResetCubit.md | 37 + .../authenticationRepository.md | 33 + .../PasswordResetCubit/dataChanged.md | 53 ++ .../PasswordResetCubit/emailChanged.md | 47 ++ .../PasswordResetCubit/emailCustomChanged.md | 42 + .../PasswordResetCubit/formName.md | 40 + .../PasswordResetCubit/formRepository.md | 36 + .../PasswordResetCubit/reset.md | 43 ++ .../PasswordResetCubit/submit.md | 70 ++ .../PasswordResetCubit/update.md | 51 ++ .../PasswordResetCubit/validate.md | 43 ++ .../PasswordResetState-class.md | 169 ++++ .../PasswordResetState/PasswordResetState.md | 34 + .../PasswordResetState/copyWith.md | 44 ++ .../PasswordResetState/email.md | 36 + .../PasswordResetState/errorMessage.md | 34 + .../PasswordResetState/form.md | 34 + .../PasswordResetState/props.md | 42 + .../PasswordResetState/status.md | 34 + .../PasswordResetState/toString.md | 48 ++ .../ReauthenticateFailureFirebase-class.md | 137 ++++ .../ReauthenticateFailureFirebase.fromCode.md | 57 ++ .../ReauthenticateFailureFirebase.md | 31 + .../ReauthenticateFailureInterface-class.md | 139 ++++ ...ReauthenticateFailureInterface.fromCode.md | 30 + .../ReauthenticateFailureInterface.md | 30 + .../ReauthenticatedEvent-class.md | 137 ++++ .../ReauthenticatedEvent.md | 30 + .../ReauthenticatedEvent/account.md | 33 + .../ReauthenticatedEvent/props.md | 42 + .../RefreshFailureFirebase-class.md | 137 ++++ .../RefreshFailureFirebase.fromCode.md | 30 + .../RefreshFailureFirebase.md | 31 + .../RefreshFailureInterface-class.md | 139 ++++ .../RefreshFailureInterface.fromCode.md | 31 + .../RefreshFailureInterface.md | 31 + .../RefreshedEvent-class.md | 136 ++++ .../RefreshedEvent/RefreshedEvent.md | 30 + .../RefreshedEvent/account.md | 33 + .../RefreshedEvent/props.md | 42 + ...dEmailVerificationFailureFirebase-class.md | 137 ++++ ...ailVerificationFailureFirebase.fromCode.md | 30 + .../SendEmailVerificationFailureFirebase.md | 31 + ...EmailVerificationFailureInterface-class.md | 139 ++++ ...ilVerificationFailureInterface.fromCode.md | 31 + .../SendEmailVerificationFailureInterface.md | 31 + ...PasswordResetEmailFailureFirebase-class.md | 137 ++++ ...swordResetEmailFailureFirebase.fromCode.md | 30 + .../SendPasswordResetEmailFailureFirebase.md | 31 + ...asswordResetEmailFailureInterface-class.md | 139 ++++ ...wordResetEmailFailureInterface.fromCode.md | 32 + .../SendPasswordResetEmailFailureInterface.md | 31 + ...endSignInLinkEmailFailureFirebase-class.md | 137 ++++ ...SignInLinkEmailFailureFirebase.fromCode.md | 30 + .../SendSignInLinkEmailFailureFirebase.md | 31 + ...ndSignInLinkEmailFailureInterface-class.md | 139 ++++ ...ignInLinkEmailFailureInterface.fromCode.md | 31 + .../SendSignInLinkEmailFailureInterface.md | 31 + .../Session-class.md | 144 ++++ .../Session/Session.md | 33 + .../Session/account.md | 33 + .../wyatt_authentication_bloc/Session/data.md | 33 + .../Session/props.md | 42 + .../Session/stringify.md | 47 ++ .../SessionWrapper-class.md | 144 ++++ .../SessionWrapper/SessionWrapper.md | 33 + .../SessionWrapper/event.md | 33 + .../SessionWrapper/props.md | 42 + .../SessionWrapper/session.md | 33 + .../SessionWrapper/stringify.md | 47 ++ .../SignInAnonymously-mixin.md | 269 +++++++ .../SignInAnonymously/onSignInAnonymously.md | 39 + .../SignInAnonymously/signInAnonymously.md | 79 ++ .../SignInAnonymouslyFailureFirebase-class.md | 137 ++++ ...gnInAnonymouslyFailureFirebase.fromCode.md | 40 + .../SignInAnonymouslyFailureFirebase.md | 31 + ...SignInAnonymouslyFailureInterface-class.md | 139 ++++ ...nInAnonymouslyFailureInterface.fromCode.md | 31 + .../SignInAnonymouslyFailureInterface.md | 31 + .../SignInCubit-class.md | 354 +++++++++ .../SignInCubit/SignInCubit.md | 30 + .../SignInCubit/onSignInAnonymously.md | 42 + .../onSignInWithEmailAndPassword.md | 42 + .../SignInCubit/onSignInWithGoogle.md | 42 + .../SignInListener-class.md | 236 ++++++ .../SignInListener/SignInListener.md | 37 + .../SignInListener/build.md | 92 +++ .../SignInListener/child.md | 33 + .../SignInListener/customBuilder.md | 33 + .../SignInListener/onError.md | 37 + .../SignInListener/onProgress.md | 33 + .../SignInListener/onSuccess.md | 33 + .../SignInState-class.md | 179 +++++ .../SignInState/SignInState.md | 34 + .../SignInState/copyWith.md | 44 ++ .../SignInState/email.md | 37 + .../SignInState/errorMessage.md | 34 + .../SignInState/form.md | 34 + .../SignInState/password.md | 37 + .../SignInState/props.md | 42 + .../SignInState/status.md | 34 + .../SignInState/toString.md | 48 ++ .../SignInWithAppleFailureFirebase-class.md | 141 ++++ ...SignInWithAppleFailureFirebase.fromCode.md | 30 + .../SignInWithAppleFailureFirebase.md | 30 + .../SignInWithAppleFailureInterface-class.md | 140 ++++ ...ignInWithAppleFailureInterface.fromCode.md | 31 + .../SignInWithAppleFailureInterface.md | 31 + ...gnInWithCredentialFailureFirebase-class.md | 143 ++++ ...nWithCredentialFailureFirebase.fromCode.md | 61 ++ .../SignInWithCredentialFailureFirebase.md | 31 + ...nInWithCredentialFailureInterface-class.md | 139 ++++ ...WithCredentialFailureInterface.fromCode.md | 31 + .../SignInWithCredentialFailureInterface.md | 31 + ...thEmailAndPasswordFailureFirebase-class.md | 137 ++++ ...mailAndPasswordFailureFirebase.fromCode.md | 49 ++ ...gnInWithEmailAndPasswordFailureFirebase.md | 31 + ...hEmailAndPasswordFailureInterface-class.md | 139 ++++ ...ailAndPasswordFailureInterface.fromCode.md | 32 + ...nInWithEmailAndPasswordFailureInterface.md | 31 + ...ignInWithEmailLinkFailureFirebase-class.md | 137 ++++ ...InWithEmailLinkFailureFirebase.fromCode.md | 46 ++ .../SignInWithEmailLinkFailureFirebase.md | 31 + ...gnInWithEmailLinkFailureInterface-class.md | 139 ++++ ...nWithEmailLinkFailureInterface.fromCode.md | 31 + .../SignInWithEmailLinkFailureInterface.md | 31 + .../SignInWithEmailPassword-mixin.md | 305 ++++++++ .../SignInWithEmailPassword/emailChanged.md | 47 ++ .../emailCustomChanged.md | 42 + .../onSignInWithEmailAndPassword.md | 39 + .../passwordChanged.md | 46 ++ .../passwordCustomChanged.md | 42 + .../signInWithEmailAndPassword.md | 105 +++ ...SignInWithFacebookFailureFirebase-class.md | 141 ++++ ...nInWithFacebookFailureFirebase.fromCode.md | 30 + .../SignInWithFacebookFailureFirebase.md | 30 + ...ignInWithFacebookFailureInterface-class.md | 139 ++++ ...InWithFacebookFailureInterface.fromCode.md | 31 + .../SignInWithFacebookFailureInterface.md | 31 + .../SignInWithGoogle-mixin.md | 269 +++++++ .../SignInWithGoogle/onSignInWithGoogle.md | 39 + .../SignInWithGoogle/signInWithGoogle.md | 78 ++ .../SignInWithGoogleFailureFirebase-class.md | 141 ++++ ...ignInWithGoogleFailureFirebase.fromCode.md | 30 + .../SignInWithGoogleFailureFirebase.md | 30 + .../SignInWithGoogleFailureInterface-class.md | 139 ++++ ...gnInWithGoogleFailureInterface.fromCode.md | 31 + .../SignInWithGoogleFailureInterface.md | 31 + .../SignInWithTwitterFailureFirebase-class.md | 141 ++++ ...gnInWithTwitterFailureFirebase.fromCode.md | 30 + .../SignInWithTwitterFailureFirebase.md | 30 + ...SignInWithTwitterFailureInterface-class.md | 136 ++++ ...nInWithTwitterFailureInterface.fromCode.md | 31 + .../SignInWithTwitterFailureInterface.md | 31 + .../SignOutFailureFirebase-class.md | 137 ++++ .../SignOutFailureFirebase.fromCode.md | 30 + .../SignOutFailureFirebase.md | 31 + .../SignOutFailureInterface-class.md | 139 ++++ .../SignOutFailureInterface.fromCode.md | 31 + .../SignOutFailureInterface.md | 31 + .../SignUpCubit-class.md | 316 ++++++++ .../SignUpCubit/SignUpCubit.md | 30 + .../onSignUpWithEmailAndPassword.md | 43 ++ .../SignUpListener-class.md | 236 ++++++ .../SignUpListener/SignUpListener.md | 37 + .../SignUpListener/build.md | 92 +++ .../SignUpListener/child.md | 33 + .../SignUpListener/customBuilder.md | 33 + .../SignUpListener/onError.md | 37 + .../SignUpListener/onProgress.md | 33 + .../SignUpListener/onSuccess.md | 33 + .../SignUpState-class.md | 179 +++++ .../SignUpState/SignUpState.md | 34 + .../SignUpState/copyWith.md | 44 ++ .../SignUpState/email.md | 37 + .../SignUpState/errorMessage.md | 34 + .../SignUpState/form.md | 34 + .../SignUpState/password.md | 37 + .../SignUpState/props.md | 42 + .../SignUpState/status.md | 34 + .../SignUpState/toString.md | 50 ++ ...thEmailAndPasswordFailureFirebase-class.md | 137 ++++ ...mailAndPasswordFailureFirebase.fromCode.md | 52 ++ ...gnUpWithEmailAndPasswordFailureFirebase.md | 31 + ...hEmailAndPasswordFailureInterface-class.md | 139 ++++ ...ailAndPasswordFailureInterface.fromCode.md | 32 + ...nUpWithEmailAndPasswordFailureInterface.md | 31 + .../SignUpWithEmailPassword-mixin.md | 305 ++++++++ .../SignUpWithEmailPassword/emailChanged.md | 47 ++ .../emailCustomChanged.md | 42 + .../onSignUpWithEmailAndPassword.md | 40 + .../passwordChanged.md | 46 ++ .../passwordCustomChanged.md | 42 + .../signUpWithEmailPassword.md | 97 +++ .../SignedInEvent-class.md | 135 ++++ .../SignedInEvent/SignedInEvent.md | 30 + .../SignedInEvent/account.md | 33 + .../SignedInEvent/props.md | 42 + .../SignedInFromCacheEvent-class.md | 135 ++++ .../SignedInFromCacheEvent.md | 30 + .../SignedInFromCacheEvent/account.md | 33 + .../SignedInFromCacheEvent/props.md | 42 + .../SignedOutEvent-class.md | 126 +++ .../SignedOutEvent/SignedOutEvent.md | 30 + .../SignedUpEvent-class.md | 135 ++++ .../SignedUpEvent/SignedUpEvent.md | 30 + .../SignedUpEvent/account.md | 33 + .../SignedUpEvent/props.md | 42 + .../UnknownAuthenticationEvent-class.md | 126 +++ .../UnknownAuthenticationEvent.md | 30 + .../UpdateEmail-mixin.md | 287 +++++++ .../UpdateEmail/emailChanged.md | 47 ++ .../UpdateEmail/emailCustomChanged.md | 42 + .../UpdateEmail/onEmailUpdated.md | 39 + .../UpdateEmail/updateEmail.md | 103 +++ .../UpdateEmailFailureFirebase-class.md | 137 ++++ .../UpdateEmailFailureFirebase.fromCode.md | 45 ++ .../UpdateEmailFailureFirebase.md | 31 + .../UpdateEmailFailureInterface-class.md | 139 ++++ .../UpdateEmailFailureInterface.fromCode.md | 30 + .../UpdateEmailFailureInterface.md | 30 + .../UpdatePassword-mixin.md | 287 +++++++ .../UpdatePassword/onPasswordUpdated.md | 39 + .../UpdatePassword/passwordChanged.md | 46 ++ .../UpdatePassword/passwordCustomChanged.md | 42 + .../UpdatePassword/updatePassword.md | 103 +++ .../UpdatePasswordFailureFirebase-class.md | 137 ++++ .../UpdatePasswordFailureFirebase.fromCode.md | 42 + .../UpdatePasswordFailureFirebase.md | 31 + .../UpdatePasswordFailureInterface-class.md | 139 ++++ ...UpdatePasswordFailureInterface.fromCode.md | 30 + .../UpdatePasswordFailureInterface.md | 30 + .../UpdatedEvent-class.md | 135 ++++ .../UpdatedEvent/UpdatedEvent.md | 30 + .../UpdatedEvent/account.md | 33 + .../UpdatedEvent/props.md | 42 + ...yPasswordResetCodeFailureFirebase-class.md | 137 ++++ ...sswordResetCodeFailureFirebase.fromCode.md | 31 + .../VerifyPasswordResetCodeFailureFirebase.md | 31 + ...PasswordResetCodeFailureInterface-class.md | 139 ++++ ...swordResetCodeFailureInterface.fromCode.md | 32 + ...VerifyPasswordResetCodeFailureInterface.md | 31 + .../wyatt_authentication_bloc-library.md | 727 ++++++++++++++++++ .../example/.gitignore | 1 - 516 files changed, 33827 insertions(+), 8 deletions(-) create mode 100644 packages/wyatt_authentication_bloc/doc/api/__404error.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/categories.json create mode 100644 packages/wyatt_authentication_bloc/doc/api/index.json create mode 100644 packages/wyatt_authentication_bloc/doc/api/index.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/search.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/Account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/accessToken.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/creationTime.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/email.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/emailVerified.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/id.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isAnonymous.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isNewUser.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/lastSignInTime.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/phoneNumber.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/photoURL.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/providerId.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/refreshToken.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/stringify.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/refreshToken.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/user.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/AuthFormField.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/email-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/password-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/AuthFormName.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signInForm-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/build.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unknown.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/currentSession.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/delete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onDelete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/refresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/signOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/code.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/message.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/addSession.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/delete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/refresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/stringify.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/wrapper.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/values-constant.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formName.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/reset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/submit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/update.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/validate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formName.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/reset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/submit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/update.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/validate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formName.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/reset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/submit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/update.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/validate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/data.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/session.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/wrapper.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/attachedLogic.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/call.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onError.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onSuccess.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/routine.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/build.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/child.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/customBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onError.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onProgress.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onSuccess.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/EditAccountState.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/copyWith.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/email.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/errorMessage.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/form.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/password.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/build.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/onError.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/verified.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/copyWith.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/errorMessage.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/isVerified.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formName.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formRepository.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/reset.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/submit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/update.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/validate.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/copyWith.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/email.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/errorMessage.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/form.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/Session.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/data.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/stringify.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/event.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/session.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/stringify.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/SignInCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/SignInListener.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/build.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/child.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/customBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onError.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onProgress.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onSuccess.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/SignInState.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/copyWith.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/email.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/errorMessage.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/form.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/password.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/SignUpListener.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/build.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/child.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/customBuilder.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onError.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onProgress.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onSuccess.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/SignUpState.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/copyWith.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/email.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/errorMessage.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/form.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/password.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/status.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/toString.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/updateEmail.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword-mixin.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/updatePassword.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/account.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/props.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md create mode 100644 packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/wyatt_authentication_bloc-library.md diff --git a/.gitignore b/.gitignore index 37e175bc..a0057b37 100644 --- a/.gitignore +++ b/.gitignore @@ -13,10 +13,6 @@ build/ # If you're building an application, you may want to check-in your pubspec.lock pubspec.lock -# Directory created by dartdoc -# If you don't generate documentation locally you can remove this line. -doc/api/ - # dotenv environment variables file .env* @@ -38,7 +34,6 @@ doc/api/ ### Flutter ### # Flutter/Dart/Pub related -**/doc/api/ .fvm/ .pub-cache/ .pub/ @@ -200,4 +195,4 @@ google-services.json pubspec_overrides.yaml # Mason -.mason/ \ No newline at end of file +.mason/ diff --git a/packages/wyatt_authentication_bloc/.gitignore b/packages/wyatt_authentication_bloc/.gitignore index 23d156c3..0f643f51 100644 --- a/packages/wyatt_authentication_bloc/.gitignore +++ b/packages/wyatt_authentication_bloc/.gitignore @@ -23,7 +23,6 @@ # Flutter/Dart/Pub related # Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. /pubspec.lock -**/doc/api/ .dart_tool/ .packages build/ diff --git a/packages/wyatt_authentication_bloc/doc/api/__404error.md b/packages/wyatt_authentication_bloc/doc/api/__404error.md new file mode 100644 index 00000000..0fedbdcf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/__404error.md @@ -0,0 +1,6 @@ +# 404 + +Oops, something's gone wrong :-( + +You've tried to visit a page that doesn't exist. Luckily this site has other +[pages](index.md). diff --git a/packages/wyatt_authentication_bloc/doc/api/categories.json b/packages/wyatt_authentication_bloc/doc/api/categories.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/categories.json @@ -0,0 +1 @@ +[] diff --git a/packages/wyatt_authentication_bloc/doc/api/index.json b/packages/wyatt_authentication_bloc/doc/api/index.json new file mode 100644 index 00000000..0745ab72 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/index.json @@ -0,0 +1 @@ +[{"name":"wyatt_authentication_bloc","qualifiedName":"wyatt_authentication_bloc","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md","type":"library","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"An authentication library for BLoC."},{"name":"Account","qualifiedName":"wyatt_authentication_bloc.Account","href":"wyatt_authentication_bloc/Account-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Represents a user Account in the \nvarious identity provisioning systems.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"Account","qualifiedName":"wyatt_authentication_bloc.Account.Account","href":"wyatt_authentication_bloc/Account/Account.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"accessToken","qualifiedName":"wyatt_authentication_bloc.Account.accessToken","href":"wyatt_authentication_bloc/Account/accessToken.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The user access token","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"creationTime","qualifiedName":"wyatt_authentication_bloc.Account.creationTime","href":"wyatt_authentication_bloc/Account/creationTime.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns the users account creation time.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.Account.email","href":"wyatt_authentication_bloc/Account/email.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The users email address.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"emailVerified","qualifiedName":"wyatt_authentication_bloc.Account.emailVerified","href":"wyatt_authentication_bloc/Account/emailVerified.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns whether the users email address has been verified.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"id","qualifiedName":"wyatt_authentication_bloc.Account.id","href":"wyatt_authentication_bloc/Account/id.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The user's unique ID.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"isAnonymous","qualifiedName":"wyatt_authentication_bloc.Account.isAnonymous","href":"wyatt_authentication_bloc/Account/isAnonymous.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns whether the user is a anonymous.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"isNewUser","qualifiedName":"wyatt_authentication_bloc.Account.isNewUser","href":"wyatt_authentication_bloc/Account/isNewUser.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Whether the user account has been recently created.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"lastSignInTime","qualifiedName":"wyatt_authentication_bloc.Account.lastSignInTime","href":"wyatt_authentication_bloc/Account/lastSignInTime.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When the user last signed in as dictated by the server clock.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"phoneNumber","qualifiedName":"wyatt_authentication_bloc.Account.phoneNumber","href":"wyatt_authentication_bloc/Account/phoneNumber.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns the users phone number.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"photoURL","qualifiedName":"wyatt_authentication_bloc.Account.photoURL","href":"wyatt_authentication_bloc/Account/photoURL.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns a photo URL for the user.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.Account.props","href":"wyatt_authentication_bloc/Account/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"providerId","qualifiedName":"wyatt_authentication_bloc.Account.providerId","href":"wyatt_authentication_bloc/Account/providerId.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The provider ID for the user.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"refreshToken","qualifiedName":"wyatt_authentication_bloc.Account.refreshToken","href":"wyatt_authentication_bloc/Account/refreshToken.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The user refresh token","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"stringify","qualifiedName":"wyatt_authentication_bloc.Account.stringify","href":"wyatt_authentication_bloc/Account/stringify.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"If set to true, the toString method will be overridden to output\nthis instance's props.","enclosedBy":{"name":"Account","type":"class","href":"wyatt_authentication_bloc/Account-class.md"}},{"name":"AccountModel","qualifiedName":"wyatt_authentication_bloc.AccountModel","href":"wyatt_authentication_bloc/AccountModel-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Account Model to parse Firebase User data","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AccountModel.fromFirebaseUser","qualifiedName":"wyatt_authentication_bloc.AccountModel.fromFirebaseUser","href":"wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AccountModel","type":"class","href":"wyatt_authentication_bloc/AccountModel-class.md"}},{"name":"AccountModel.fromFirebaseUserCredential","qualifiedName":"wyatt_authentication_bloc.AccountModel.fromFirebaseUserCredential","href":"wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AccountModel","type":"class","href":"wyatt_authentication_bloc/AccountModel-class.md"}},{"name":"refreshToken","qualifiedName":"wyatt_authentication_bloc.AccountModel.refreshToken","href":"wyatt_authentication_bloc/AccountModel/refreshToken.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The user refresh token","enclosedBy":{"name":"AccountModel","type":"class","href":"wyatt_authentication_bloc/AccountModel-class.md"}},{"name":"user","qualifiedName":"wyatt_authentication_bloc.AccountModel.user","href":"wyatt_authentication_bloc/AccountModel/user.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AccountModel","type":"class","href":"wyatt_authentication_bloc/AccountModel-class.md"}},{"name":"ApplyActionCodeFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureFirebase","href":"wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the apply action code process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ApplyActionCodeFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureFirebase.ApplyActionCodeFailureFirebase","href":"wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ApplyActionCodeFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md"}},{"name":"ApplyActionCodeFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureFirebase.fromCode","href":"wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ApplyActionCodeFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md"}},{"name":"ApplyActionCodeFailureInterface","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureInterface","href":"wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the apply action code process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ApplyActionCodeFailureInterface","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureInterface.ApplyActionCodeFailureInterface","href":"wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the apply action code process if a failure occurs.","enclosedBy":{"name":"ApplyActionCodeFailureInterface","type":"class","href":"wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md"}},{"name":"ApplyActionCodeFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.ApplyActionCodeFailureInterface.fromCode","href":"wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the apply action code process if a failure occurs.","enclosedBy":{"name":"ApplyActionCodeFailureInterface","type":"class","href":"wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md"}},{"name":"AuthFormField","qualifiedName":"wyatt_authentication_bloc.AuthFormField","href":"wyatt_authentication_bloc/AuthFormField-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Default authentication form fields name","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthFormField","qualifiedName":"wyatt_authentication_bloc.AuthFormField.AuthFormField","href":"wyatt_authentication_bloc/AuthFormField/AuthFormField.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthFormField","type":"class","href":"wyatt_authentication_bloc/AuthFormField-class.md"}},{"name":"confirmPassword","qualifiedName":"wyatt_authentication_bloc.AuthFormField.confirmPassword","href":"wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Confirm Password field: wyattConfirmPasswordField","enclosedBy":{"name":"AuthFormField","type":"class","href":"wyatt_authentication_bloc/AuthFormField-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.AuthFormField.email","href":"wyatt_authentication_bloc/AuthFormField/email-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Email field: wyattEmailField","enclosedBy":{"name":"AuthFormField","type":"class","href":"wyatt_authentication_bloc/AuthFormField-class.md"}},{"name":"password","qualifiedName":"wyatt_authentication_bloc.AuthFormField.password","href":"wyatt_authentication_bloc/AuthFormField/password-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Password field: wyattPasswordField","enclosedBy":{"name":"AuthFormField","type":"class","href":"wyatt_authentication_bloc/AuthFormField-class.md"}},{"name":"AuthFormName","qualifiedName":"wyatt_authentication_bloc.AuthFormName","href":"wyatt_authentication_bloc/AuthFormName-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Default authentication form name","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthFormName","qualifiedName":"wyatt_authentication_bloc.AuthFormName.AuthFormName","href":"wyatt_authentication_bloc/AuthFormName/AuthFormName.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthFormName","type":"class","href":"wyatt_authentication_bloc/AuthFormName-class.md"}},{"name":"editAccountForm","qualifiedName":"wyatt_authentication_bloc.AuthFormName.editAccountForm","href":"wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Edit account form: wyattEditAccountForm","enclosedBy":{"name":"AuthFormName","type":"class","href":"wyatt_authentication_bloc/AuthFormName-class.md"}},{"name":"passwordResetForm","qualifiedName":"wyatt_authentication_bloc.AuthFormName.passwordResetForm","href":"wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Password reset form: wyattPasswordResetForm","enclosedBy":{"name":"AuthFormName","type":"class","href":"wyatt_authentication_bloc/AuthFormName-class.md"}},{"name":"signInForm","qualifiedName":"wyatt_authentication_bloc.AuthFormName.signInForm","href":"wyatt_authentication_bloc/AuthFormName/signInForm-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign In form: wyattSignInForm","enclosedBy":{"name":"AuthFormName","type":"class","href":"wyatt_authentication_bloc/AuthFormName-class.md"}},{"name":"signUpForm","qualifiedName":"wyatt_authentication_bloc.AuthFormName.signUpForm","href":"wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign Up form: wyattSignUpForm","enclosedBy":{"name":"AuthFormName","type":"class","href":"wyatt_authentication_bloc/AuthFormName-class.md"}},{"name":"AuthenticationBuilder","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationBuilder","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder.AuthenticationBuilder","href":"wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationBuilder","type":"class","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md"}},{"name":"authenticated","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder.authenticated","href":"wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationBuilder","type":"class","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md"}},{"name":"build","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder.build","href":"wyatt_authentication_bloc/AuthenticationBuilder/build.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Describes the part of the user interface represented by this widget.","enclosedBy":{"name":"AuthenticationBuilder","type":"class","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md"}},{"name":"unauthenticated","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder.unauthenticated","href":"wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationBuilder","type":"class","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md"}},{"name":"unknown","qualifiedName":"wyatt_authentication_bloc.AuthenticationBuilder.unknown","href":"wyatt_authentication_bloc/AuthenticationBuilder/unknown.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationBuilder","type":"class","href":"wyatt_authentication_bloc/AuthenticationBuilder-class.md"}},{"name":"AuthenticationChangeEvent","qualifiedName":"wyatt_authentication_bloc.AuthenticationChangeEvent","href":"wyatt_authentication_bloc/AuthenticationChangeEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Represents an event initiated by a change in\nthe user's authentication status.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationChangeEvent","qualifiedName":"wyatt_authentication_bloc.AuthenticationChangeEvent.AuthenticationChangeEvent","href":"wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationChangeEvent","type":"class","href":"wyatt_authentication_bloc/AuthenticationChangeEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.AuthenticationChangeEvent.props","href":"wyatt_authentication_bloc/AuthenticationChangeEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"AuthenticationChangeEvent","type":"class","href":"wyatt_authentication_bloc/AuthenticationChangeEvent-class.md"}},{"name":"stringify","qualifiedName":"wyatt_authentication_bloc.AuthenticationChangeEvent.stringify","href":"wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"If set to true, the toString method will be overridden to output\nthis instance's props.","enclosedBy":{"name":"AuthenticationChangeEvent","type":"class","href":"wyatt_authentication_bloc/AuthenticationChangeEvent-class.md"}},{"name":"AuthenticationCubit","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Abstract authentication cubit class needs to be implemented in application.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationCubit","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.AuthenticationCubit","href":"wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.authenticationRepository","href":"wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"currentSession","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.currentSession","href":"wyatt_authentication_bloc/AuthenticationCubit/currentSession.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns latest session wrapper.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"delete","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.delete","href":"wyatt_authentication_bloc/AuthenticationCubit/delete.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Delete account.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"onDelete","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.onDelete","href":"wyatt_authentication_bloc/AuthenticationCubit/onDelete.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when the current account is deleted from\nthe remote.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"onReauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.onReauthenticate","href":"wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when the account is re-authenticated","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"onRefresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.onRefresh","href":"wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when the account is refreshed.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"onSignInFromCache","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.onSignInFromCache","href":"wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when the user is automaticcaly logged in from\nthe cache.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"onSignOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.onSignOut","href":"wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when the user is logged out.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"reauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.reauthenticate","href":"wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Some security-sensitive actions—such as deleting an account,\nsetting a primary email address, and changing a password—require that\nthe user has recently signed in.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"refresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.refresh","href":"wyatt_authentication_bloc/AuthenticationCubit/refresh.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Refreshes the current user, if signed in.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"signOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationCubit.signOut","href":"wyatt_authentication_bloc/AuthenticationCubit/signOut.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Signs out the current user.\nIt also clears the cache and the associated data.","enclosedBy":{"name":"AuthenticationCubit","type":"class","href":"wyatt_authentication_bloc/AuthenticationCubit-class.md"}},{"name":"AuthenticationFailureInterface","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Base exception used in Wyatt Authentication","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationFailureInterface","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.AuthenticationFailureInterface","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"code","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.code","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/code.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"AuthenticationFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.fromCode","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"message","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.message","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/message.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"msg","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.msg","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.AuthenticationFailureInterface.toString","href":"wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"AuthenticationFailureInterface","type":"class","href":"wyatt_authentication_bloc/AuthenticationFailureInterface-class.md"}},{"name":"AuthenticationFirebaseDataSourceImpl","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationFirebaseDataSourceImpl","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.AuthenticationFirebaseDataSourceImpl","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"addSession","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.addSession","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Add a new authentication event.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"confirmPasswordReset","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.confirmPasswordReset","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Confirms the password reset with the provided newPassword and code.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"delete","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.delete","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Delete account.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"reauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.reauthenticate","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Some security-sensitive actions—such as deleting an account,\nsetting a primary email address, and changing a password—require that\nthe user has recently signed in.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"refresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.refresh","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Refreshes the current user, if signed in.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"sendEmailVerification","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.sendEmailVerification","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sends verification email to the account email.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"sendPasswordResetEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.sendPasswordResetEmail","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sends a password reset email to the provided email.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"sessionStream","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.sessionStream","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Authentication state change event stream.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"signInAnonymously","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.signInAnonymously","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sign in anonymously.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"signInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.signInWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Signs in with the provided email and password.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"signInWithGoogle","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.signInWithGoogle","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Starts the Sign In with Google Flow.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"signOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.signOut","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Signs out the current user.\nIt also clears the cache and the associated data.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"signUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.signUpWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Creates a new user with the provided email and password.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"updateEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.updateEmail","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Update or add email.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"updatePassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.updatePassword","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Update or add password.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"verifyPasswordResetCode","qualifiedName":"wyatt_authentication_bloc.AuthenticationFirebaseDataSourceImpl.verifyPasswordResetCode","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Verify password reset code.","enclosedBy":{"name":"AuthenticationFirebaseDataSourceImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md"}},{"name":"AuthenticationRemoteDataSource","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Is responsible for abstracting the provenance of the data.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationRemoteDataSource","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.AuthenticationRemoteDataSource","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"addSession","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.addSession","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"confirmPasswordReset","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.confirmPasswordReset","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"delete","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.delete","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"reauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.reauthenticate","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"refresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.refresh","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"sendEmailVerification","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.sendEmailVerification","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"sendPasswordResetEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.sendPasswordResetEmail","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"sessionStream","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.sessionStream","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"signInAnonymously","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.signInAnonymously","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"signInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.signInWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"signInWithGoogle","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.signInWithGoogle","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"signOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.signOut","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"signUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.signUpWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"updateEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.updateEmail","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"updatePassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.updatePassword","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"verifyPasswordResetCode","qualifiedName":"wyatt_authentication_bloc.AuthenticationRemoteDataSource.verifyPasswordResetCode","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRemoteDataSource","type":"class","href":"wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md"}},{"name":"AuthenticationRepository","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationRepository","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.AuthenticationRepository","href":"wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"addSession","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.addSession","href":"wyatt_authentication_bloc/AuthenticationRepository/addSession.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Add a new authentication event.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"confirmPasswordReset","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.confirmPasswordReset","href":"wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Confirms the password reset with the provided newPassword and code.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"delete","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.delete","href":"wyatt_authentication_bloc/AuthenticationRepository/delete.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Delete account.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.formRepository","href":"wyatt_authentication_bloc/AuthenticationRepository/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Form repository used in different authentication cubits/blocs","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"reauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.reauthenticate","href":"wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Some security-sensitive actions—such as deleting an account,\nsetting a primary email address, and changing a password—require that\nthe user has recently signed in.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"refresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.refresh","href":"wyatt_authentication_bloc/AuthenticationRepository/refresh.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Refreshes the current user, if signed in.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"sendEmailVerification","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.sendEmailVerification","href":"wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sends verification email to the account email.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"sendPasswordResetEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.sendPasswordResetEmail","href":"wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sends a password reset email to the provided email.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"sessionStream","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.sessionStream","href":"wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Authentication state change event stream.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"signInAnonymously","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.signInAnonymously","href":"wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in anonymously.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"signInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.signInWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Signs in with the provided email and password.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"signInWithGoogle","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.signInWithGoogle","href":"wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Starts the Sign In with Google Flow.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"signOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.signOut","href":"wyatt_authentication_bloc/AuthenticationRepository/signOut.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Signs out the current user.\nIt also clears the cache and the associated data.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"signUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.signUpWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Creates a new user with the provided email and password.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"updateEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.updateEmail","href":"wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Update or add email.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"updatePassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.updatePassword","href":"wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Update or add password.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"verifyPasswordResetCode","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepository.verifyPasswordResetCode","href":"wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Verify password reset code.","enclosedBy":{"name":"AuthenticationRepository","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepository-class.md"}},{"name":"AuthenticationRepositoryImpl","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationRepositoryImpl","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.AuthenticationRepositoryImpl","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"addSession","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.addSession","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Add a new authentication event.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"authenticationRemoteDataSource","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.authenticationRemoteDataSource","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"confirmPasswordReset","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.confirmPasswordReset","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Confirms the password reset with the provided newPassword and code.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"delete","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.delete","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Delete account.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.formRepository","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Form repository used in different authentication cubits/blocs","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"reauthenticate","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.reauthenticate","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Some security-sensitive actions—such as deleting an account,\nsetting a primary email address, and changing a password—require that\nthe user has recently signed in.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"refresh","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.refresh","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Refreshes the current user, if signed in.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"sendEmailVerification","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.sendEmailVerification","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sends verification email to the account email.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"sendPasswordResetEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.sendPasswordResetEmail","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sends a password reset email to the provided email.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"sessionStream","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.sessionStream","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Authentication state change event stream.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"signInAnonymously","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.signInAnonymously","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sign in anonymously.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"signInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.signInWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Signs in with the provided email and password.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"signInWithGoogle","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.signInWithGoogle","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Starts the Sign In with Google Flow.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"signOut","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.signOut","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Signs out the current user.\nIt also clears the cache and the associated data.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"signUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.signUpWithEmailAndPassword","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Creates a new user with the provided email and password.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"updateEmail","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.updateEmail","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Update or add email.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"updatePassword","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.updatePassword","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Update or add password.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"verifyPasswordResetCode","qualifiedName":"wyatt_authentication_bloc.AuthenticationRepositoryImpl.verifyPasswordResetCode","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Verify password reset code.","enclosedBy":{"name":"AuthenticationRepositoryImpl","type":"class","href":"wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md"}},{"name":"AuthenticationState","qualifiedName":"wyatt_authentication_bloc.AuthenticationState","href":"wyatt_authentication_bloc/AuthenticationState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationState.authenticated","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.authenticated","href":"wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.props","href":"wyatt_authentication_bloc/AuthenticationState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.status","href":"wyatt_authentication_bloc/AuthenticationState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"stringify","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.stringify","href":"wyatt_authentication_bloc/AuthenticationState/stringify.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"If set to true, the toString method will be overridden to output\nthis instance's props.","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"AuthenticationState.unauthenticated","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.unauthenticated","href":"wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"AuthenticationState.unknown","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.unknown","href":"wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"wrapper","qualifiedName":"wyatt_authentication_bloc.AuthenticationState.wrapper","href":"wyatt_authentication_bloc/AuthenticationState/wrapper.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationState","type":"class","href":"wyatt_authentication_bloc/AuthenticationState-class.md"}},{"name":"AuthenticationStatus","qualifiedName":"wyatt_authentication_bloc.AuthenticationStatus","href":"wyatt_authentication_bloc/AuthenticationStatus.md","type":"enum","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Different authentication status","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"AuthenticationStatus","qualifiedName":"wyatt_authentication_bloc.AuthenticationStatus.AuthenticationStatus","href":"wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"AuthenticationStatus","type":"enum","href":"wyatt_authentication_bloc/AuthenticationStatus.md"}},{"name":"values","qualifiedName":"wyatt_authentication_bloc.AuthenticationStatus.values","href":"wyatt_authentication_bloc/AuthenticationStatus/values-constant.md","type":"constant","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"A constant List of the values in this enum, in order of their declaration.","enclosedBy":{"name":"AuthenticationStatus","type":"enum","href":"wyatt_authentication_bloc/AuthenticationStatus.md"}},{"name":"BaseEditAccountCubit","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Abstract edit account cubit useful for implementing a cubit with fine\ngranularity by adding only the required mixins.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"BaseEditAccountCubit","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.BaseEditAccountCubit","href":"wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.authenticationRepository","href":"wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"dataChanged","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.dataChanged","href":"wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"formName","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.formName","href":"wyatt_authentication_bloc/BaseEditAccountCubit/formName.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.formRepository","href":"wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"reset","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.reset","href":"wyatt_authentication_bloc/BaseEditAccountCubit/reset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"submit","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.submit","href":"wyatt_authentication_bloc/BaseEditAccountCubit/submit.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"update","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.update","href":"wyatt_authentication_bloc/BaseEditAccountCubit/update.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"validate","qualifiedName":"wyatt_authentication_bloc.BaseEditAccountCubit.validate","href":"wyatt_authentication_bloc/BaseEditAccountCubit/validate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseEditAccountCubit","type":"class","href":"wyatt_authentication_bloc/BaseEditAccountCubit-class.md"}},{"name":"BaseSignInCubit","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Abstract sign in cubit useful for implementing a cubit with fine \ngranularity by adding only the required mixins.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"BaseSignInCubit","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.BaseSignInCubit","href":"wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.authenticationRepository","href":"wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"dataChanged","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.dataChanged","href":"wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"formName","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.formName","href":"wyatt_authentication_bloc/BaseSignInCubit/formName.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.formRepository","href":"wyatt_authentication_bloc/BaseSignInCubit/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"reset","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.reset","href":"wyatt_authentication_bloc/BaseSignInCubit/reset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"submit","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.submit","href":"wyatt_authentication_bloc/BaseSignInCubit/submit.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"update","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.update","href":"wyatt_authentication_bloc/BaseSignInCubit/update.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"validate","qualifiedName":"wyatt_authentication_bloc.BaseSignInCubit.validate","href":"wyatt_authentication_bloc/BaseSignInCubit/validate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignInCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignInCubit-class.md"}},{"name":"BaseSignUpCubit","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Abstract sign up cubit useful for implementing a cubit with fine \ngranularity by adding only the required mixins.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"BaseSignUpCubit","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.BaseSignUpCubit","href":"wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.authenticationRepository","href":"wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"dataChanged","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.dataChanged","href":"wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"formName","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.formName","href":"wyatt_authentication_bloc/BaseSignUpCubit/formName.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.formRepository","href":"wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"reset","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.reset","href":"wyatt_authentication_bloc/BaseSignUpCubit/reset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"submit","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.submit","href":"wyatt_authentication_bloc/BaseSignUpCubit/submit.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"update","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.update","href":"wyatt_authentication_bloc/BaseSignUpCubit/update.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"validate","qualifiedName":"wyatt_authentication_bloc.BaseSignUpCubit.validate","href":"wyatt_authentication_bloc/BaseSignUpCubit/validate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"BaseSignUpCubit","type":"class","href":"wyatt_authentication_bloc/BaseSignUpCubit-class.md"}},{"name":"BuildContextExtension","qualifiedName":"wyatt_authentication_bloc.BuildContextExtension","href":"wyatt_authentication_bloc/BuildContextExtension.md","type":"extension","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Extension that helps to quickly access useful resources like wrapper,\nsession, account or data.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.BuildContextExtension.account","href":"wyatt_authentication_bloc/BuildContextExtension/account.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns account","enclosedBy":{"name":"BuildContextExtension","type":"extension","href":"wyatt_authentication_bloc/BuildContextExtension.md"}},{"name":"data","qualifiedName":"wyatt_authentication_bloc.BuildContextExtension.data","href":"wyatt_authentication_bloc/BuildContextExtension/data.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns associated data","enclosedBy":{"name":"BuildContextExtension","type":"extension","href":"wyatt_authentication_bloc/BuildContextExtension.md"}},{"name":"session","qualifiedName":"wyatt_authentication_bloc.BuildContextExtension.session","href":"wyatt_authentication_bloc/BuildContextExtension/session.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns session","enclosedBy":{"name":"BuildContextExtension","type":"extension","href":"wyatt_authentication_bloc/BuildContextExtension.md"}},{"name":"wrapper","qualifiedName":"wyatt_authentication_bloc.BuildContextExtension.wrapper","href":"wyatt_authentication_bloc/BuildContextExtension/wrapper.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Returns session wrapper","enclosedBy":{"name":"BuildContextExtension","type":"extension","href":"wyatt_authentication_bloc/BuildContextExtension.md"}},{"name":"ConfirmPasswordResetFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureFirebase","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ConfirmPasswordResetFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureFirebase.ConfirmPasswordResetFailureFirebase","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ConfirmPasswordResetFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md"}},{"name":"ConfirmPasswordResetFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureFirebase.fromCode","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ConfirmPasswordResetFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md"}},{"name":"ConfirmPasswordResetFailureInterface","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureInterface","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ConfirmPasswordResetFailureInterface","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureInterface.ConfirmPasswordResetFailureInterface","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"ConfirmPasswordResetFailureInterface","type":"class","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md"}},{"name":"ConfirmPasswordResetFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.ConfirmPasswordResetFailureInterface.fromCode","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"ConfirmPasswordResetFailureInterface","type":"class","href":"wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md"}},{"name":"CustomRoutine","qualifiedName":"wyatt_authentication_bloc.CustomRoutine","href":"wyatt_authentication_bloc/CustomRoutine-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Calls on each cubit action of this package.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"CustomRoutine","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.CustomRoutine","href":"wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"attachedLogic","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.attachedLogic","href":"wyatt_authentication_bloc/CustomRoutine/attachedLogic.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"call","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.call","href":"wyatt_authentication_bloc/CustomRoutine/call.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"onError","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.onError","href":"wyatt_authentication_bloc/CustomRoutine/onError.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"onSuccess","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.onSuccess","href":"wyatt_authentication_bloc/CustomRoutine/onSuccess.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"routine","qualifiedName":"wyatt_authentication_bloc.CustomRoutine.routine","href":"wyatt_authentication_bloc/CustomRoutine/routine.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"CustomRoutine","type":"class","href":"wyatt_authentication_bloc/CustomRoutine-class.md"}},{"name":"DeleteAccountFailureFirebase","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureFirebase","href":"wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the account deletion if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"DeleteAccountFailureFirebase","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureFirebase.DeleteAccountFailureFirebase","href":"wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"DeleteAccountFailureFirebase","type":"class","href":"wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md"}},{"name":"DeleteAccountFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureFirebase.fromCode","href":"wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"DeleteAccountFailureFirebase","type":"class","href":"wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md"}},{"name":"DeleteAccountFailureInterface","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureInterface","href":"wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the account deletion if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"DeleteAccountFailureInterface","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureInterface.DeleteAccountFailureInterface","href":"wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"DeleteAccountFailureInterface","type":"class","href":"wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md"}},{"name":"DeleteAccountFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.DeleteAccountFailureInterface.fromCode","href":"wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"DeleteAccountFailureInterface","type":"class","href":"wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md"}},{"name":"DeletedEvent","qualifiedName":"wyatt_authentication_bloc.DeletedEvent","href":"wyatt_authentication_bloc/DeletedEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user deleted his account.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"DeletedEvent","qualifiedName":"wyatt_authentication_bloc.DeletedEvent.DeletedEvent","href":"wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"DeletedEvent","type":"class","href":"wyatt_authentication_bloc/DeletedEvent-class.md"}},{"name":"EditAccountCubit","qualifiedName":"wyatt_authentication_bloc.EditAccountCubit","href":"wyatt_authentication_bloc/EditAccountCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Fully featured edit account cubit.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EditAccountCubit","qualifiedName":"wyatt_authentication_bloc.EditAccountCubit.EditAccountCubit","href":"wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountCubit","type":"class","href":"wyatt_authentication_bloc/EditAccountCubit-class.md"}},{"name":"onEmailUpdated","qualifiedName":"wyatt_authentication_bloc.EditAccountCubit.onEmailUpdated","href":"wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when user updates his email","enclosedBy":{"name":"EditAccountCubit","type":"class","href":"wyatt_authentication_bloc/EditAccountCubit-class.md"}},{"name":"onPasswordUpdated","qualifiedName":"wyatt_authentication_bloc.EditAccountCubit.onPasswordUpdated","href":"wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user edits his password.","enclosedBy":{"name":"EditAccountCubit","type":"class","href":"wyatt_authentication_bloc/EditAccountCubit-class.md"}},{"name":"EditAccountListener","qualifiedName":"wyatt_authentication_bloc.EditAccountListener","href":"wyatt_authentication_bloc/EditAccountListener-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Widget that listens and builds a child based on the state of\nthe edit account cubit","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EditAccountListener","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.EditAccountListener","href":"wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"build","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.build","href":"wyatt_authentication_bloc/EditAccountListener/build.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Describes the part of the user interface represented by this widget.","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"child","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.child","href":"wyatt_authentication_bloc/EditAccountListener/child.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"customBuilder","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.customBuilder","href":"wyatt_authentication_bloc/EditAccountListener/customBuilder.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"onError","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.onError","href":"wyatt_authentication_bloc/EditAccountListener/onError.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"onProgress","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.onProgress","href":"wyatt_authentication_bloc/EditAccountListener/onProgress.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"onSuccess","qualifiedName":"wyatt_authentication_bloc.EditAccountListener.onSuccess","href":"wyatt_authentication_bloc/EditAccountListener/onSuccess.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountListener","type":"class","href":"wyatt_authentication_bloc/EditAccountListener-class.md"}},{"name":"EditAccountState","qualifiedName":"wyatt_authentication_bloc.EditAccountState","href":"wyatt_authentication_bloc/EditAccountState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Edit account cubit state to manage the form.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EditAccountState","qualifiedName":"wyatt_authentication_bloc.EditAccountState.EditAccountState","href":"wyatt_authentication_bloc/EditAccountState/EditAccountState.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"copyWith","qualifiedName":"wyatt_authentication_bloc.EditAccountState.copyWith","href":"wyatt_authentication_bloc/EditAccountState/copyWith.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.EditAccountState.email","href":"wyatt_authentication_bloc/EditAccountState/email.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"errorMessage","qualifiedName":"wyatt_authentication_bloc.EditAccountState.errorMessage","href":"wyatt_authentication_bloc/EditAccountState/errorMessage.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Optional error message.","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"form","qualifiedName":"wyatt_authentication_bloc.EditAccountState.form","href":"wyatt_authentication_bloc/EditAccountState/form.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"FormData with all inputs, and associated metadata.","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"password","qualifiedName":"wyatt_authentication_bloc.EditAccountState.password","href":"wyatt_authentication_bloc/EditAccountState/password.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.EditAccountState.props","href":"wyatt_authentication_bloc/EditAccountState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.EditAccountState.status","href":"wyatt_authentication_bloc/EditAccountState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Global status of a form.","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.EditAccountState.toString","href":"wyatt_authentication_bloc/EditAccountState/toString.md","type":"method","overriddenDepth":2,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"EditAccountState","type":"class","href":"wyatt_authentication_bloc/EditAccountState-class.md"}},{"name":"EmailVerificationBuilder","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EmailVerificationBuilder","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.EmailVerificationBuilder","href":"wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"build","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.build","href":"wyatt_authentication_bloc/EmailVerificationBuilder/build.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Describes the part of the user interface represented by this widget.","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"customBuilder","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.customBuilder","href":"wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"notVerified","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.notVerified","href":"wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"onError","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.onError","href":"wyatt_authentication_bloc/EmailVerificationBuilder/onError.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"verified","qualifiedName":"wyatt_authentication_bloc.EmailVerificationBuilder.verified","href":"wyatt_authentication_bloc/EmailVerificationBuilder/verified.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationBuilder","type":"class","href":"wyatt_authentication_bloc/EmailVerificationBuilder-class.md"}},{"name":"EmailVerificationCubit","qualifiedName":"wyatt_authentication_bloc.EmailVerificationCubit","href":"wyatt_authentication_bloc/EmailVerificationCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EmailVerificationCubit","qualifiedName":"wyatt_authentication_bloc.EmailVerificationCubit.EmailVerificationCubit","href":"wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationCubit","type":"class","href":"wyatt_authentication_bloc/EmailVerificationCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.EmailVerificationCubit.authenticationRepository","href":"wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationCubit","type":"class","href":"wyatt_authentication_bloc/EmailVerificationCubit-class.md"}},{"name":"checkEmailVerification","qualifiedName":"wyatt_authentication_bloc.EmailVerificationCubit.checkEmailVerification","href":"wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationCubit","type":"class","href":"wyatt_authentication_bloc/EmailVerificationCubit-class.md"}},{"name":"sendEmailVerification","qualifiedName":"wyatt_authentication_bloc.EmailVerificationCubit.sendEmailVerification","href":"wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationCubit","type":"class","href":"wyatt_authentication_bloc/EmailVerificationCubit-class.md"}},{"name":"EmailVerificationState","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState","href":"wyatt_authentication_bloc/EmailVerificationState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"EmailVerificationState","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.EmailVerificationState","href":"wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"copyWith","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.copyWith","href":"wyatt_authentication_bloc/EmailVerificationState/copyWith.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"errorMessage","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.errorMessage","href":"wyatt_authentication_bloc/EmailVerificationState/errorMessage.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"isVerified","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.isVerified","href":"wyatt_authentication_bloc/EmailVerificationState/isVerified.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.props","href":"wyatt_authentication_bloc/EmailVerificationState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.status","href":"wyatt_authentication_bloc/EmailVerificationState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.EmailVerificationState.toString","href":"wyatt_authentication_bloc/EmailVerificationState/toString.md","type":"method","overriddenDepth":2,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"EmailVerificationState","type":"class","href":"wyatt_authentication_bloc/EmailVerificationState-class.md"}},{"name":"FetchSignInMethodsForEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureFirebase","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the fetch sign in methods if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"FetchSignInMethodsForEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureFirebase.FetchSignInMethodsForEmailFailureFirebase","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"FetchSignInMethodsForEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md"}},{"name":"FetchSignInMethodsForEmailFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureFirebase.fromCode","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"FetchSignInMethodsForEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md"}},{"name":"FetchSignInMethodsForEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureInterface","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the fetch sign in methods if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"FetchSignInMethodsForEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureInterface.FetchSignInMethodsForEmailFailureInterface","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the fetch sign in methods if a failure occurs.","enclosedBy":{"name":"FetchSignInMethodsForEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md"}},{"name":"FetchSignInMethodsForEmailFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.FetchSignInMethodsForEmailFailureInterface.fromCode","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the fetch sign in methods if a failure occurs.","enclosedBy":{"name":"FetchSignInMethodsForEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md"}},{"name":"ModelParsingFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureFirebase","href":"wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the model parsing process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ModelParsingFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureFirebase.ModelParsingFailureFirebase","href":"wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ModelParsingFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md"}},{"name":"ModelParsingFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureFirebase.fromCode","href":"wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ModelParsingFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md"}},{"name":"ModelParsingFailureInterface","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureInterface","href":"wyatt_authentication_bloc/ModelParsingFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the model parsing process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ModelParsingFailureInterface","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureInterface.ModelParsingFailureInterface","href":"wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ModelParsingFailureInterface","type":"class","href":"wyatt_authentication_bloc/ModelParsingFailureInterface-class.md"}},{"name":"ModelParsingFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.ModelParsingFailureInterface.fromCode","href":"wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ModelParsingFailureInterface","type":"class","href":"wyatt_authentication_bloc/ModelParsingFailureInterface-class.md"}},{"name":"PasswordResetCubit","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Cubit that allows user to reset his password","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"PasswordResetCubit","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.PasswordResetCubit","href":"wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"authenticationRepository","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.authenticationRepository","href":"wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"dataChanged","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.dataChanged","href":"wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"emailChanged","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.emailChanged","href":"wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"emailCustomChanged","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.emailCustomChanged","href":"wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as emailChanged but with a custom Validator.","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"formName","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.formName","href":"wyatt_authentication_bloc/PasswordResetCubit/formName.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"formRepository","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.formRepository","href":"wyatt_authentication_bloc/PasswordResetCubit/formRepository.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"reset","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.reset","href":"wyatt_authentication_bloc/PasswordResetCubit/reset.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"submit","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.submit","href":"wyatt_authentication_bloc/PasswordResetCubit/submit.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Sends a password reset email to the user","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"update","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.update","href":"wyatt_authentication_bloc/PasswordResetCubit/update.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"validate","qualifiedName":"wyatt_authentication_bloc.PasswordResetCubit.validate","href":"wyatt_authentication_bloc/PasswordResetCubit/validate.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetCubit","type":"class","href":"wyatt_authentication_bloc/PasswordResetCubit-class.md"}},{"name":"PasswordResetState","qualifiedName":"wyatt_authentication_bloc.PasswordResetState","href":"wyatt_authentication_bloc/PasswordResetState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"PasswordResetState","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.PasswordResetState","href":"wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"copyWith","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.copyWith","href":"wyatt_authentication_bloc/PasswordResetState/copyWith.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.email","href":"wyatt_authentication_bloc/PasswordResetState/email.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"errorMessage","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.errorMessage","href":"wyatt_authentication_bloc/PasswordResetState/errorMessage.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Optional error message.","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"form","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.form","href":"wyatt_authentication_bloc/PasswordResetState/form.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"FormData with all inputs, and associated metadata.","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.props","href":"wyatt_authentication_bloc/PasswordResetState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.status","href":"wyatt_authentication_bloc/PasswordResetState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Global status of a form.","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.PasswordResetState.toString","href":"wyatt_authentication_bloc/PasswordResetState/toString.md","type":"method","overriddenDepth":2,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"PasswordResetState","type":"class","href":"wyatt_authentication_bloc/PasswordResetState-class.md"}},{"name":"ReauthenticateFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureFirebase","href":"wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the reauthentication process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ReauthenticateFailureFirebase","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureFirebase.ReauthenticateFailureFirebase","href":"wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticateFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md"}},{"name":"ReauthenticateFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureFirebase.fromCode","href":"wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticateFailureFirebase","type":"class","href":"wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md"}},{"name":"ReauthenticateFailureInterface","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureInterface","href":"wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the reauthentication process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ReauthenticateFailureInterface","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureInterface.ReauthenticateFailureInterface","href":"wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticateFailureInterface","type":"class","href":"wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md"}},{"name":"ReauthenticateFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.ReauthenticateFailureInterface.fromCode","href":"wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticateFailureInterface","type":"class","href":"wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md"}},{"name":"ReauthenticatedEvent","qualifiedName":"wyatt_authentication_bloc.ReauthenticatedEvent","href":"wyatt_authentication_bloc/ReauthenticatedEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user re-authenticates (from the logged in state to the \nlogged in state with a different and fresh access \ntoken and a different login time)","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"ReauthenticatedEvent","qualifiedName":"wyatt_authentication_bloc.ReauthenticatedEvent.ReauthenticatedEvent","href":"wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticatedEvent","type":"class","href":"wyatt_authentication_bloc/ReauthenticatedEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.ReauthenticatedEvent.account","href":"wyatt_authentication_bloc/ReauthenticatedEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"ReauthenticatedEvent","type":"class","href":"wyatt_authentication_bloc/ReauthenticatedEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.ReauthenticatedEvent.props","href":"wyatt_authentication_bloc/ReauthenticatedEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"ReauthenticatedEvent","type":"class","href":"wyatt_authentication_bloc/ReauthenticatedEvent-class.md"}},{"name":"RefreshFailureFirebase","qualifiedName":"wyatt_authentication_bloc.RefreshFailureFirebase","href":"wyatt_authentication_bloc/RefreshFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the refresh process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"RefreshFailureFirebase","qualifiedName":"wyatt_authentication_bloc.RefreshFailureFirebase.RefreshFailureFirebase","href":"wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"RefreshFailureFirebase","type":"class","href":"wyatt_authentication_bloc/RefreshFailureFirebase-class.md"}},{"name":"RefreshFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.RefreshFailureFirebase.fromCode","href":"wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"RefreshFailureFirebase","type":"class","href":"wyatt_authentication_bloc/RefreshFailureFirebase-class.md"}},{"name":"RefreshFailureInterface","qualifiedName":"wyatt_authentication_bloc.RefreshFailureInterface","href":"wyatt_authentication_bloc/RefreshFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the refresh process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"RefreshFailureInterface","qualifiedName":"wyatt_authentication_bloc.RefreshFailureInterface.RefreshFailureInterface","href":"wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the refresh process if a failure occurs.","enclosedBy":{"name":"RefreshFailureInterface","type":"class","href":"wyatt_authentication_bloc/RefreshFailureInterface-class.md"}},{"name":"RefreshFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.RefreshFailureInterface.fromCode","href":"wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the refresh process if a failure occurs.","enclosedBy":{"name":"RefreshFailureInterface","type":"class","href":"wyatt_authentication_bloc/RefreshFailureInterface-class.md"}},{"name":"RefreshedEvent","qualifiedName":"wyatt_authentication_bloc.RefreshedEvent","href":"wyatt_authentication_bloc/RefreshedEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user access token is refreshed (from the logged in state to the \nlogged in state with a different access token)","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"RefreshedEvent","qualifiedName":"wyatt_authentication_bloc.RefreshedEvent.RefreshedEvent","href":"wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"RefreshedEvent","type":"class","href":"wyatt_authentication_bloc/RefreshedEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.RefreshedEvent.account","href":"wyatt_authentication_bloc/RefreshedEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"RefreshedEvent","type":"class","href":"wyatt_authentication_bloc/RefreshedEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.RefreshedEvent.props","href":"wyatt_authentication_bloc/RefreshedEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"RefreshedEvent","type":"class","href":"wyatt_authentication_bloc/RefreshedEvent-class.md"}},{"name":"SendEmailVerificationFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureFirebase","href":"wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email verification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendEmailVerificationFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureFirebase.SendEmailVerificationFailureFirebase","href":"wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendEmailVerificationFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md"}},{"name":"SendEmailVerificationFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendEmailVerificationFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md"}},{"name":"SendEmailVerificationFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureInterface","href":"wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email verification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendEmailVerificationFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureInterface.SendEmailVerificationFailureInterface","href":"wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email verification process if a failure occurs.","enclosedBy":{"name":"SendEmailVerificationFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md"}},{"name":"SendEmailVerificationFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SendEmailVerificationFailureInterface.fromCode","href":"wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email verification process if a failure occurs.","enclosedBy":{"name":"SendEmailVerificationFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md"}},{"name":"SendPasswordResetEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureFirebase","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendPasswordResetEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureFirebase.SendPasswordResetEmailFailureFirebase","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendPasswordResetEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md"}},{"name":"SendPasswordResetEmailFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendPasswordResetEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md"}},{"name":"SendPasswordResetEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureInterface","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendPasswordResetEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureInterface.SendPasswordResetEmailFailureInterface","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"SendPasswordResetEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md"}},{"name":"SendPasswordResetEmailFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SendPasswordResetEmailFailureInterface.fromCode","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"SendPasswordResetEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md"}},{"name":"SendSignInLinkEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureFirebase","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in link process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendSignInLinkEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureFirebase.SendSignInLinkEmailFailureFirebase","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendSignInLinkEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md"}},{"name":"SendSignInLinkEmailFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SendSignInLinkEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md"}},{"name":"SendSignInLinkEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureInterface","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in link process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SendSignInLinkEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureInterface.SendSignInLinkEmailFailureInterface","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in link process if a failure occurs.","enclosedBy":{"name":"SendSignInLinkEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md"}},{"name":"SendSignInLinkEmailFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SendSignInLinkEmailFailureInterface.fromCode","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in link process if a failure occurs.","enclosedBy":{"name":"SendSignInLinkEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md"}},{"name":"Session","qualifiedName":"wyatt_authentication_bloc.Session","href":"wyatt_authentication_bloc/Session-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The Session object is used to transport and propagate\nthe connected user Account and personalized Data in the application.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"Session","qualifiedName":"wyatt_authentication_bloc.Session.Session","href":"wyatt_authentication_bloc/Session/Session.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"Session","type":"class","href":"wyatt_authentication_bloc/Session-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.Session.account","href":"wyatt_authentication_bloc/Session/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"Session","type":"class","href":"wyatt_authentication_bloc/Session-class.md"}},{"name":"data","qualifiedName":"wyatt_authentication_bloc.Session.data","href":"wyatt_authentication_bloc/Session/data.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"Session","type":"class","href":"wyatt_authentication_bloc/Session-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.Session.props","href":"wyatt_authentication_bloc/Session/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"Session","type":"class","href":"wyatt_authentication_bloc/Session-class.md"}},{"name":"stringify","qualifiedName":"wyatt_authentication_bloc.Session.stringify","href":"wyatt_authentication_bloc/Session/stringify.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"If set to true, the toString method will be overridden to output\nthis instance's props.","enclosedBy":{"name":"Session","type":"class","href":"wyatt_authentication_bloc/Session-class.md"}},{"name":"SessionWrapper","qualifiedName":"wyatt_authentication_bloc.SessionWrapper","href":"wyatt_authentication_bloc/SessionWrapper-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Contains the AuthenticationChangeEvent initiating the state \nchange and the current Session.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SessionWrapper","qualifiedName":"wyatt_authentication_bloc.SessionWrapper.SessionWrapper","href":"wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SessionWrapper","type":"class","href":"wyatt_authentication_bloc/SessionWrapper-class.md"}},{"name":"event","qualifiedName":"wyatt_authentication_bloc.SessionWrapper.event","href":"wyatt_authentication_bloc/SessionWrapper/event.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SessionWrapper","type":"class","href":"wyatt_authentication_bloc/SessionWrapper-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SessionWrapper.props","href":"wyatt_authentication_bloc/SessionWrapper/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SessionWrapper","type":"class","href":"wyatt_authentication_bloc/SessionWrapper-class.md"}},{"name":"session","qualifiedName":"wyatt_authentication_bloc.SessionWrapper.session","href":"wyatt_authentication_bloc/SessionWrapper/session.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SessionWrapper","type":"class","href":"wyatt_authentication_bloc/SessionWrapper-class.md"}},{"name":"stringify","qualifiedName":"wyatt_authentication_bloc.SessionWrapper.stringify","href":"wyatt_authentication_bloc/SessionWrapper/stringify.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"If set to true, the toString method will be overridden to output\nthis instance's props.","enclosedBy":{"name":"SessionWrapper","type":"class","href":"wyatt_authentication_bloc/SessionWrapper-class.md"}},{"name":"SignInAnonymously","qualifiedName":"wyatt_authentication_bloc.SignInAnonymously","href":"wyatt_authentication_bloc/SignInAnonymously-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"onSignInAnonymously","qualifiedName":"wyatt_authentication_bloc.SignInAnonymously.onSignInAnonymously","href":"wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in anonymously.","enclosedBy":{"name":"SignInAnonymously","type":"mixin","href":"wyatt_authentication_bloc/SignInAnonymously-mixin.md"}},{"name":"signInAnonymously","qualifiedName":"wyatt_authentication_bloc.SignInAnonymously.signInAnonymously","href":"wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in anonymously.","enclosedBy":{"name":"SignInAnonymously","type":"mixin","href":"wyatt_authentication_bloc/SignInAnonymously-mixin.md"}},{"name":"SignInAnonymouslyFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureFirebase","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInAnonymouslyFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureFirebase.SignInAnonymouslyFailureFirebase","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInAnonymouslyFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md"}},{"name":"SignInAnonymouslyFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInAnonymouslyFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md"}},{"name":"SignInAnonymouslyFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureInterface","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInAnonymouslyFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureInterface.SignInAnonymouslyFailureInterface","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInAnonymouslyFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md"}},{"name":"SignInAnonymouslyFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInAnonymouslyFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInAnonymouslyFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md"}},{"name":"SignInCubit","qualifiedName":"wyatt_authentication_bloc.SignInCubit","href":"wyatt_authentication_bloc/SignInCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Fully featured sign in cubit.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInCubit","qualifiedName":"wyatt_authentication_bloc.SignInCubit.SignInCubit","href":"wyatt_authentication_bloc/SignInCubit/SignInCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInCubit","type":"class","href":"wyatt_authentication_bloc/SignInCubit-class.md"}},{"name":"onSignInAnonymously","qualifiedName":"wyatt_authentication_bloc.SignInCubit.onSignInAnonymously","href":"wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in anonymously.","enclosedBy":{"name":"SignInCubit","type":"class","href":"wyatt_authentication_bloc/SignInCubit-class.md"}},{"name":"onSignInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.SignInCubit.onSignInWithEmailAndPassword","href":"wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in with email and password.","enclosedBy":{"name":"SignInCubit","type":"class","href":"wyatt_authentication_bloc/SignInCubit-class.md"}},{"name":"onSignInWithGoogle","qualifiedName":"wyatt_authentication_bloc.SignInCubit.onSignInWithGoogle","href":"wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in with google.","enclosedBy":{"name":"SignInCubit","type":"class","href":"wyatt_authentication_bloc/SignInCubit-class.md"}},{"name":"SignInListener","qualifiedName":"wyatt_authentication_bloc.SignInListener","href":"wyatt_authentication_bloc/SignInListener-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Widget that listens and builds a child based on the state of \nthe sign in cubit","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInListener","qualifiedName":"wyatt_authentication_bloc.SignInListener.SignInListener","href":"wyatt_authentication_bloc/SignInListener/SignInListener.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"build","qualifiedName":"wyatt_authentication_bloc.SignInListener.build","href":"wyatt_authentication_bloc/SignInListener/build.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Describes the part of the user interface represented by this widget.","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"child","qualifiedName":"wyatt_authentication_bloc.SignInListener.child","href":"wyatt_authentication_bloc/SignInListener/child.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"customBuilder","qualifiedName":"wyatt_authentication_bloc.SignInListener.customBuilder","href":"wyatt_authentication_bloc/SignInListener/customBuilder.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"onError","qualifiedName":"wyatt_authentication_bloc.SignInListener.onError","href":"wyatt_authentication_bloc/SignInListener/onError.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"onProgress","qualifiedName":"wyatt_authentication_bloc.SignInListener.onProgress","href":"wyatt_authentication_bloc/SignInListener/onProgress.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"onSuccess","qualifiedName":"wyatt_authentication_bloc.SignInListener.onSuccess","href":"wyatt_authentication_bloc/SignInListener/onSuccess.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInListener","type":"class","href":"wyatt_authentication_bloc/SignInListener-class.md"}},{"name":"SignInState","qualifiedName":"wyatt_authentication_bloc.SignInState","href":"wyatt_authentication_bloc/SignInState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in cubit state to manage the form.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInState","qualifiedName":"wyatt_authentication_bloc.SignInState.SignInState","href":"wyatt_authentication_bloc/SignInState/SignInState.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"copyWith","qualifiedName":"wyatt_authentication_bloc.SignInState.copyWith","href":"wyatt_authentication_bloc/SignInState/copyWith.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.SignInState.email","href":"wyatt_authentication_bloc/SignInState/email.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"errorMessage","qualifiedName":"wyatt_authentication_bloc.SignInState.errorMessage","href":"wyatt_authentication_bloc/SignInState/errorMessage.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Optional error message.","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"form","qualifiedName":"wyatt_authentication_bloc.SignInState.form","href":"wyatt_authentication_bloc/SignInState/form.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"FormData with all inputs, and associated metadata.","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"password","qualifiedName":"wyatt_authentication_bloc.SignInState.password","href":"wyatt_authentication_bloc/SignInState/password.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SignInState.props","href":"wyatt_authentication_bloc/SignInState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.SignInState.status","href":"wyatt_authentication_bloc/SignInState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Global status of a form.","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.SignInState.toString","href":"wyatt_authentication_bloc/SignInState/toString.md","type":"method","overriddenDepth":2,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"SignInState","type":"class","href":"wyatt_authentication_bloc/SignInState-class.md"}},{"name":"SignInWithAppleFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureFirebase","href":"wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithAppleFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureFirebase.SignInWithAppleFailureFirebase","href":"wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithAppleFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md"}},{"name":"SignInWithAppleFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithAppleFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md"}},{"name":"SignInWithAppleFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureInterface","href":"wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithAppleFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureInterface.SignInWithAppleFailureInterface","href":"wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithAppleFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md"}},{"name":"SignInWithAppleFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithAppleFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithAppleFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md"}},{"name":"SignInWithCredentialFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureFirebase","href":"wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithCredentialFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureFirebase.SignInWithCredentialFailureFirebase","href":"wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithCredentialFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md"}},{"name":"SignInWithCredentialFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithCredentialFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md"}},{"name":"SignInWithCredentialFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureInterface","href":"wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithCredentialFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureInterface.SignInWithCredentialFailureInterface","href":"wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithCredentialFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md"}},{"name":"SignInWithCredentialFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithCredentialFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithCredentialFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md"}},{"name":"SignInWithEmailAndPasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureFirebase","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithEmailAndPasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureFirebase.SignInWithEmailAndPasswordFailureFirebase","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailAndPasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md"}},{"name":"SignInWithEmailAndPasswordFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailAndPasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md"}},{"name":"SignInWithEmailAndPasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureInterface","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithEmailAndPasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureInterface.SignInWithEmailAndPasswordFailureInterface","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithEmailAndPasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md"}},{"name":"SignInWithEmailAndPasswordFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailAndPasswordFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithEmailAndPasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md"}},{"name":"SignInWithEmailLinkFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureFirebase","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithEmailLinkFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureFirebase.SignInWithEmailLinkFailureFirebase","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailLinkFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md"}},{"name":"SignInWithEmailLinkFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailLinkFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md"}},{"name":"SignInWithEmailLinkFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureInterface","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithEmailLinkFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureInterface.SignInWithEmailLinkFailureInterface","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithEmailLinkFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md"}},{"name":"SignInWithEmailLinkFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailLinkFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithEmailLinkFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md"}},{"name":"SignInWithEmailPassword","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"emailChanged","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.emailChanged","href":"wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"emailCustomChanged","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.emailCustomChanged","href":"wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as emailChanged but with a custom Validator.","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"onSignInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.onSignInWithEmailAndPassword","href":"wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in with email and password.","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"passwordChanged","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.passwordChanged","href":"wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"passwordCustomChanged","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.passwordCustomChanged","href":"wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as passwordChanged but with a custom Validator.","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"signInWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.SignInWithEmailPassword.signInWithEmailAndPassword","href":"wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Signs in with the provided email and password.","enclosedBy":{"name":"SignInWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md"}},{"name":"SignInWithFacebookFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureFirebase","href":"wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithFacebookFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureFirebase.SignInWithFacebookFailureFirebase","href":"wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithFacebookFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md"}},{"name":"SignInWithFacebookFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithFacebookFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md"}},{"name":"SignInWithFacebookFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureInterface","href":"wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithFacebookFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureInterface.SignInWithFacebookFailureInterface","href":"wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithFacebookFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md"}},{"name":"SignInWithFacebookFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithFacebookFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithFacebookFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md"}},{"name":"SignInWithGoogle","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogle","href":"wyatt_authentication_bloc/SignInWithGoogle-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign in mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"onSignInWithGoogle","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogle.onSignInWithGoogle","href":"wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user signs in with google.","enclosedBy":{"name":"SignInWithGoogle","type":"mixin","href":"wyatt_authentication_bloc/SignInWithGoogle-mixin.md"}},{"name":"signInWithGoogle","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogle.signInWithGoogle","href":"wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Starts the Sign In with Google Flow.","enclosedBy":{"name":"SignInWithGoogle","type":"mixin","href":"wyatt_authentication_bloc/SignInWithGoogle-mixin.md"}},{"name":"SignInWithGoogleFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureFirebase","href":"wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithGoogleFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureFirebase.SignInWithGoogleFailureFirebase","href":"wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithGoogleFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md"}},{"name":"SignInWithGoogleFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithGoogleFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md"}},{"name":"SignInWithGoogleFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureInterface","href":"wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithGoogleFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureInterface.SignInWithGoogleFailureInterface","href":"wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithGoogleFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md"}},{"name":"SignInWithGoogleFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithGoogleFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithGoogleFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md"}},{"name":"SignInWithTwitterFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureFirebase","href":"wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithTwitterFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureFirebase.SignInWithTwitterFailureFirebase","href":"wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithTwitterFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md"}},{"name":"SignInWithTwitterFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignInWithTwitterFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md"}},{"name":"SignInWithTwitterFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureInterface","href":"wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignInWithTwitterFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureInterface.SignInWithTwitterFailureInterface","href":"wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithTwitterFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md"}},{"name":"SignInWithTwitterFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignInWithTwitterFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign in process if a failure occurs.","enclosedBy":{"name":"SignInWithTwitterFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md"}},{"name":"SignOutFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignOutFailureFirebase","href":"wyatt_authentication_bloc/SignOutFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign out process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignOutFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignOutFailureFirebase.SignOutFailureFirebase","href":"wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignOutFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignOutFailureFirebase-class.md"}},{"name":"SignOutFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignOutFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignOutFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignOutFailureFirebase-class.md"}},{"name":"SignOutFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignOutFailureInterface","href":"wyatt_authentication_bloc/SignOutFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign out process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignOutFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignOutFailureInterface.SignOutFailureInterface","href":"wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign out process if a failure occurs.","enclosedBy":{"name":"SignOutFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignOutFailureInterface-class.md"}},{"name":"SignOutFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignOutFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the sign out process if a failure occurs.","enclosedBy":{"name":"SignOutFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignOutFailureInterface-class.md"}},{"name":"SignUpCubit","qualifiedName":"wyatt_authentication_bloc.SignUpCubit","href":"wyatt_authentication_bloc/SignUpCubit-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Fully featured sign up cubit.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignUpCubit","qualifiedName":"wyatt_authentication_bloc.SignUpCubit.SignUpCubit","href":"wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpCubit","type":"class","href":"wyatt_authentication_bloc/SignUpCubit-class.md"}},{"name":"onSignUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.SignUpCubit.onSignUpWithEmailAndPassword","href":"wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user creates an account.","enclosedBy":{"name":"SignUpCubit","type":"class","href":"wyatt_authentication_bloc/SignUpCubit-class.md"}},{"name":"SignUpListener","qualifiedName":"wyatt_authentication_bloc.SignUpListener","href":"wyatt_authentication_bloc/SignUpListener-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Widget that listens and builds a child based on the state of \nthe sign up cubit","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignUpListener","qualifiedName":"wyatt_authentication_bloc.SignUpListener.SignUpListener","href":"wyatt_authentication_bloc/SignUpListener/SignUpListener.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"build","qualifiedName":"wyatt_authentication_bloc.SignUpListener.build","href":"wyatt_authentication_bloc/SignUpListener/build.md","type":"method","overriddenDepth":1,"packageName":"wyatt_authentication_bloc","desc":"Describes the part of the user interface represented by this widget.","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"child","qualifiedName":"wyatt_authentication_bloc.SignUpListener.child","href":"wyatt_authentication_bloc/SignUpListener/child.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"customBuilder","qualifiedName":"wyatt_authentication_bloc.SignUpListener.customBuilder","href":"wyatt_authentication_bloc/SignUpListener/customBuilder.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"onError","qualifiedName":"wyatt_authentication_bloc.SignUpListener.onError","href":"wyatt_authentication_bloc/SignUpListener/onError.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"onProgress","qualifiedName":"wyatt_authentication_bloc.SignUpListener.onProgress","href":"wyatt_authentication_bloc/SignUpListener/onProgress.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"onSuccess","qualifiedName":"wyatt_authentication_bloc.SignUpListener.onSuccess","href":"wyatt_authentication_bloc/SignUpListener/onSuccess.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpListener","type":"class","href":"wyatt_authentication_bloc/SignUpListener-class.md"}},{"name":"SignUpState","qualifiedName":"wyatt_authentication_bloc.SignUpState","href":"wyatt_authentication_bloc/SignUpState-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign up cubit state to manage the form.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignUpState","qualifiedName":"wyatt_authentication_bloc.SignUpState.SignUpState","href":"wyatt_authentication_bloc/SignUpState/SignUpState.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"copyWith","qualifiedName":"wyatt_authentication_bloc.SignUpState.copyWith","href":"wyatt_authentication_bloc/SignUpState/copyWith.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"email","qualifiedName":"wyatt_authentication_bloc.SignUpState.email","href":"wyatt_authentication_bloc/SignUpState/email.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"errorMessage","qualifiedName":"wyatt_authentication_bloc.SignUpState.errorMessage","href":"wyatt_authentication_bloc/SignUpState/errorMessage.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Optional error message.","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"form","qualifiedName":"wyatt_authentication_bloc.SignUpState.form","href":"wyatt_authentication_bloc/SignUpState/form.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"FormData with all inputs, and associated metadata.","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"password","qualifiedName":"wyatt_authentication_bloc.SignUpState.password","href":"wyatt_authentication_bloc/SignUpState/password.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SignUpState.props","href":"wyatt_authentication_bloc/SignUpState/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"status","qualifiedName":"wyatt_authentication_bloc.SignUpState.status","href":"wyatt_authentication_bloc/SignUpState/status.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Global status of a form.","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"toString","qualifiedName":"wyatt_authentication_bloc.SignUpState.toString","href":"wyatt_authentication_bloc/SignUpState/toString.md","type":"method","overriddenDepth":2,"packageName":"wyatt_authentication_bloc","desc":"A string representation of this object.","enclosedBy":{"name":"SignUpState","type":"class","href":"wyatt_authentication_bloc/SignUpState-class.md"}},{"name":"SignUpWithEmailAndPasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureFirebase","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the sign up process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignUpWithEmailAndPasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureFirebase.SignUpWithEmailAndPasswordFailureFirebase","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpWithEmailAndPasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md"}},{"name":"SignUpWithEmailAndPasswordFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureFirebase.fromCode","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpWithEmailAndPasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md"}},{"name":"SignUpWithEmailAndPasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureInterface","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the sign up process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignUpWithEmailAndPasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureInterface.SignUpWithEmailAndPasswordFailureInterface","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the sign up process if a failure occurs.","enclosedBy":{"name":"SignUpWithEmailAndPasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md"}},{"name":"SignUpWithEmailAndPasswordFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailAndPasswordFailureInterface.fromCode","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown if during the sign up process if a failure occurs.","enclosedBy":{"name":"SignUpWithEmailAndPasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md"}},{"name":"SignUpWithEmailPassword","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Sign up mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"emailChanged","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.emailChanged","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"emailCustomChanged","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.emailCustomChanged","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as emailChanged but with a custom Validator.","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"onSignUpWithEmailAndPassword","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.onSignUpWithEmailAndPassword","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user creates an account.","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"passwordChanged","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.passwordChanged","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"passwordCustomChanged","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.passwordCustomChanged","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as passwordChanged but with a custom Validator.","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"signUpWithEmailPassword","qualifiedName":"wyatt_authentication_bloc.SignUpWithEmailPassword.signUpWithEmailPassword","href":"wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Creates a new user with the provided email and password.","enclosedBy":{"name":"SignUpWithEmailPassword","type":"mixin","href":"wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md"}},{"name":"SignedInEvent","qualifiedName":"wyatt_authentication_bloc.SignedInEvent","href":"wyatt_authentication_bloc/SignedInEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user authenticates (from not logged in to logged in).","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignedInEvent","qualifiedName":"wyatt_authentication_bloc.SignedInEvent.SignedInEvent","href":"wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedInEvent","type":"class","href":"wyatt_authentication_bloc/SignedInEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.SignedInEvent.account","href":"wyatt_authentication_bloc/SignedInEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedInEvent","type":"class","href":"wyatt_authentication_bloc/SignedInEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SignedInEvent.props","href":"wyatt_authentication_bloc/SignedInEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SignedInEvent","type":"class","href":"wyatt_authentication_bloc/SignedInEvent-class.md"}},{"name":"SignedInFromCacheEvent","qualifiedName":"wyatt_authentication_bloc.SignedInFromCacheEvent","href":"wyatt_authentication_bloc/SignedInFromCacheEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user authenticates automatically (from not logged in to logged in).","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignedInFromCacheEvent","qualifiedName":"wyatt_authentication_bloc.SignedInFromCacheEvent.SignedInFromCacheEvent","href":"wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedInFromCacheEvent","type":"class","href":"wyatt_authentication_bloc/SignedInFromCacheEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.SignedInFromCacheEvent.account","href":"wyatt_authentication_bloc/SignedInFromCacheEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedInFromCacheEvent","type":"class","href":"wyatt_authentication_bloc/SignedInFromCacheEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SignedInFromCacheEvent.props","href":"wyatt_authentication_bloc/SignedInFromCacheEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SignedInFromCacheEvent","type":"class","href":"wyatt_authentication_bloc/SignedInFromCacheEvent-class.md"}},{"name":"SignedOutEvent","qualifiedName":"wyatt_authentication_bloc.SignedOutEvent","href":"wyatt_authentication_bloc/SignedOutEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user logs out.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignedOutEvent","qualifiedName":"wyatt_authentication_bloc.SignedOutEvent.SignedOutEvent","href":"wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedOutEvent","type":"class","href":"wyatt_authentication_bloc/SignedOutEvent-class.md"}},{"name":"SignedUpEvent","qualifiedName":"wyatt_authentication_bloc.SignedUpEvent","href":"wyatt_authentication_bloc/SignedUpEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user creates an account.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"SignedUpEvent","qualifiedName":"wyatt_authentication_bloc.SignedUpEvent.SignedUpEvent","href":"wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedUpEvent","type":"class","href":"wyatt_authentication_bloc/SignedUpEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.SignedUpEvent.account","href":"wyatt_authentication_bloc/SignedUpEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"SignedUpEvent","type":"class","href":"wyatt_authentication_bloc/SignedUpEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.SignedUpEvent.props","href":"wyatt_authentication_bloc/SignedUpEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"SignedUpEvent","type":"class","href":"wyatt_authentication_bloc/SignedUpEvent-class.md"}},{"name":"UnknownAuthenticationEvent","qualifiedName":"wyatt_authentication_bloc.UnknownAuthenticationEvent","href":"wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When a user's login status is unknown.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UnknownAuthenticationEvent","qualifiedName":"wyatt_authentication_bloc.UnknownAuthenticationEvent.UnknownAuthenticationEvent","href":"wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UnknownAuthenticationEvent","type":"class","href":"wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md"}},{"name":"UpdateEmail","qualifiedName":"wyatt_authentication_bloc.UpdateEmail","href":"wyatt_authentication_bloc/UpdateEmail-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Edit account mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"emailChanged","qualifiedName":"wyatt_authentication_bloc.UpdateEmail.emailChanged","href":"wyatt_authentication_bloc/UpdateEmail/emailChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdateEmail","type":"mixin","href":"wyatt_authentication_bloc/UpdateEmail-mixin.md"}},{"name":"emailCustomChanged","qualifiedName":"wyatt_authentication_bloc.UpdateEmail.emailCustomChanged","href":"wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as emailChanged but with a custom Validator.","enclosedBy":{"name":"UpdateEmail","type":"mixin","href":"wyatt_authentication_bloc/UpdateEmail-mixin.md"}},{"name":"onEmailUpdated","qualifiedName":"wyatt_authentication_bloc.UpdateEmail.onEmailUpdated","href":"wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when user updates his email","enclosedBy":{"name":"UpdateEmail","type":"mixin","href":"wyatt_authentication_bloc/UpdateEmail-mixin.md"}},{"name":"updateEmail","qualifiedName":"wyatt_authentication_bloc.UpdateEmail.updateEmail","href":"wyatt_authentication_bloc/UpdateEmail/updateEmail.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Update or add email.","enclosedBy":{"name":"UpdateEmail","type":"mixin","href":"wyatt_authentication_bloc/UpdateEmail-mixin.md"}},{"name":"UpdateEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureFirebase","href":"wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email modification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UpdateEmailFailureFirebase","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureFirebase.UpdateEmailFailureFirebase","href":"wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdateEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md"}},{"name":"UpdateEmailFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureFirebase.fromCode","href":"wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdateEmailFailureFirebase","type":"class","href":"wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md"}},{"name":"UpdateEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureInterface","href":"wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the email modification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UpdateEmailFailureInterface","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureInterface.UpdateEmailFailureInterface","href":"wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdateEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md"}},{"name":"UpdateEmailFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.UpdateEmailFailureInterface.fromCode","href":"wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdateEmailFailureInterface","type":"class","href":"wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md"}},{"name":"UpdatePassword","qualifiedName":"wyatt_authentication_bloc.UpdatePassword","href":"wyatt_authentication_bloc/UpdatePassword-mixin.md","type":"mixin","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Edit account mixin.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"onPasswordUpdated","qualifiedName":"wyatt_authentication_bloc.UpdatePassword.onPasswordUpdated","href":"wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"This callback is triggered when a user edits his password.","enclosedBy":{"name":"UpdatePassword","type":"mixin","href":"wyatt_authentication_bloc/UpdatePassword-mixin.md"}},{"name":"passwordChanged","qualifiedName":"wyatt_authentication_bloc.UpdatePassword.passwordChanged","href":"wyatt_authentication_bloc/UpdatePassword/passwordChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatePassword","type":"mixin","href":"wyatt_authentication_bloc/UpdatePassword-mixin.md"}},{"name":"passwordCustomChanged","qualifiedName":"wyatt_authentication_bloc.UpdatePassword.passwordCustomChanged","href":"wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Same as passwordChanged but with a custom Validator.","enclosedBy":{"name":"UpdatePassword","type":"mixin","href":"wyatt_authentication_bloc/UpdatePassword-mixin.md"}},{"name":"updatePassword","qualifiedName":"wyatt_authentication_bloc.UpdatePassword.updatePassword","href":"wyatt_authentication_bloc/UpdatePassword/updatePassword.md","type":"method","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Update or add password.","enclosedBy":{"name":"UpdatePassword","type":"mixin","href":"wyatt_authentication_bloc/UpdatePassword-mixin.md"}},{"name":"UpdatePasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureFirebase","href":"wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password modification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UpdatePasswordFailureFirebase","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureFirebase.UpdatePasswordFailureFirebase","href":"wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatePasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md"}},{"name":"UpdatePasswordFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureFirebase.fromCode","href":"wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatePasswordFailureFirebase","type":"class","href":"wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md"}},{"name":"UpdatePasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureInterface","href":"wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password modification process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UpdatePasswordFailureInterface","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureInterface.UpdatePasswordFailureInterface","href":"wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatePasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md"}},{"name":"UpdatePasswordFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.UpdatePasswordFailureInterface.fromCode","href":"wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatePasswordFailureInterface","type":"class","href":"wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md"}},{"name":"UpdatedEvent","qualifiedName":"wyatt_authentication_bloc.UpdatedEvent","href":"wyatt_authentication_bloc/UpdatedEvent-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"When the user's account has been updated.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"UpdatedEvent","qualifiedName":"wyatt_authentication_bloc.UpdatedEvent.UpdatedEvent","href":"wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatedEvent","type":"class","href":"wyatt_authentication_bloc/UpdatedEvent-class.md"}},{"name":"account","qualifiedName":"wyatt_authentication_bloc.UpdatedEvent.account","href":"wyatt_authentication_bloc/UpdatedEvent/account.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"UpdatedEvent","type":"class","href":"wyatt_authentication_bloc/UpdatedEvent-class.md"}},{"name":"props","qualifiedName":"wyatt_authentication_bloc.UpdatedEvent.props","href":"wyatt_authentication_bloc/UpdatedEvent/props.md","type":"property","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"The list of properties that will be used to determine whether\ntwo instances are equal.","enclosedBy":{"name":"UpdatedEvent","type":"class","href":"wyatt_authentication_bloc/UpdatedEvent-class.md"}},{"name":"VerifyPasswordResetCodeFailureFirebase","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureFirebase","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"VerifyPasswordResetCodeFailureFirebase","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureFirebase.VerifyPasswordResetCodeFailureFirebase","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"VerifyPasswordResetCodeFailureFirebase","type":"class","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md"}},{"name":"VerifyPasswordResetCodeFailureFirebase.fromCode","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureFirebase.fromCode","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"","enclosedBy":{"name":"VerifyPasswordResetCodeFailureFirebase","type":"class","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md"}},{"name":"VerifyPasswordResetCodeFailureInterface","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureInterface","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md","type":"class","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"wyatt_authentication_bloc","type":"library","href":"wyatt_authentication_bloc/wyatt_authentication_bloc-library.md"}},{"name":"VerifyPasswordResetCodeFailureInterface","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureInterface.VerifyPasswordResetCodeFailureInterface","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"VerifyPasswordResetCodeFailureInterface","type":"class","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md"}},{"name":"VerifyPasswordResetCodeFailureInterface.fromCode","qualifiedName":"wyatt_authentication_bloc.VerifyPasswordResetCodeFailureInterface.fromCode","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md","type":"constructor","overriddenDepth":0,"packageName":"wyatt_authentication_bloc","desc":"Thrown during the password reset process if a failure occurs.","enclosedBy":{"name":"VerifyPasswordResetCodeFailureInterface","type":"class","href":"wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md"}}] diff --git a/packages/wyatt_authentication_bloc/doc/api/index.md b/packages/wyatt_authentication_bloc/doc/api/index.md new file mode 100644 index 00000000..7cf99eac --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/index.md @@ -0,0 +1,214 @@ + + + +# wyatt_authentication_bloc - Dart API docs + + + +

Flutter - Authentication BLoC

+ Style: Wyatt Analysis + SDK: Flutter +

+

Authentication Bloc for Flutter.

+

Features

+ +

Getting started

+

Simply add wyatt_authentication_bloc in pubspec.yaml , then

+
import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';
+
+

Data source

+

The first step is to provide a data source.

+
getIt.registerLazySingleton<AuthenticationRemoteDataSource<int>>(
+    () => AuthenticationFirebaseDataSourceImpl<int>(
+        firebaseAuth: FirebaseAuth.instance,
+        googleSignIn:
+            GoogleSignIn(clientId: DefaultFirebaseOptions.ios.iosClientId)),
+);
+
+
+

Here we use GetIt (see example project)

+
+

Repository

+

Then you can configure your repository.

+
final AuthenticationRepository<int> authenticationRepository = AuthenticationRepositoryImpl(
+    authenticationRemoteDataSource:
+        getIt<AuthenticationRemoteDataSource<int>>(),
+    customPasswordValidator: const CustomPassword.pure(),
+    extraSignUpInputs: [
+        FormInput(
+        AuthFormField.confirmPassword,
+        const ConfirmedPassword.pure(),
+        metadata: const FormInputMetadata<void>(export: false),
+        ),
+    ],
+);
+
+
+

Here we pass some extra inputs for the sign up, and a custom password validator.

+
+

Cubits

+

It is necessary to implement each cubit. Don't panic, most of the work is already done 😊 you just have to customize the logic of these.

+

In each of these cubits it is necessary to overload the various callbacks.

+
+

Here the associated data Data is a int

+
+

Authentication

+

In the authentication are managed, the refresh, the deletion of account or the disconnection.

+
class ExampleAuthenticationCubit extends AuthenticationCubit<int> {
+  ExampleAuthenticationCubit({required super.authenticationRepository});
+
+  @override
+  FutureOrResult<int?> onReauthenticate(Result<Account, AppException> result) async {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<int?> onRefresh(Result<Account, AppException> result) {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<int?> onSignInFromCache(SessionWrapper<int> wrapper) {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<void> onSignOut() {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<void> onDelete() {
+    // TODO
+  }
+}
+
+

Sign Up

+
class ExampleSignUpCubit extends SignUpCubit<int> {
+  ExampleSignUpCubit({
+    required super.authenticationRepository,
+  });
+
+  @override
+  FutureOrResult<int?> onSignUpWithEmailAndPassword(Result<Account, AppException> result, WyattForm form) async {
+    // TODO
+  }
+}
+
+
+

Sign In

+
class ExampleSignInCubit extends SignInCubit<int> {
+  ExampleSignInCubit({
+    required super.authenticationRepository,
+  });
+
+  @override
+  FutureOrResult<int?> onSignInWithEmailAndPassword(Result<Account, AppException> result, WyattForm form) {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<int?> onSignInAnonymously(Result<Account, AppException> result, WyattForm form) {
+    // TODO
+  }
+
+  @override
+  FutureOrResult<int?> onSignInWithGoogle(Result<Account, AppException> result, WyattForm form) {
+    // TODO
+  }
+}
+
+

After setting up all these cubits you can provide them in the application. And that's it!

+
BlocProvider<SignUpCubit<int>>(
+    create: (_) => ExampleSignUpCubit(
+        authenticationRepository: authenticationRepository,
+    ),
+),
+BlocProvider<SignInCubit<int>>(
+    create: (_) => ExampleSignInCubit(
+        authenticationRepository: authenticationRepository,
+    ),
+),
+
+

Widgets

+

Widgets are provided to make your life easier. Starting with the AuthenticationBuilder which allows you to build according to the authentication state.

+
AuthenticationBuilder<int>(
+    authenticated: (context, sessionWrapper) => Text(
+        'Logged as ${sessionWrapper.session?.account.email} | GeneratedId is ${sessionWrapper.session?.data}'),
+    unauthenticated: (context) =>
+        const Text('Not logged (unauthenticated)'),
+    unknown: (context) => const Text('Not logged (unknown)'),
+),
+
+

A BuildContext extension is also available to access certain attributes more quickly.

+
Text('Home | ${context.account<AuthenticationCubit<int>, int>()?.email}'),
+
+

Listeners are used to listen to the status of the sign in and sign up forms.

+
return SignInListener<int>(
+    onError: (context, status, errorMessage) => ScaffoldMessenger.of(context)
+    ..hideCurrentSnackBar()
+    ..showSnackBar(
+        SnackBar(content: Text(errorMessage ?? 'Sign In Failure')),
+    ),
+    child: ...
+);
+
+ + +## Libraries + +##### [wyatt_authentication_bloc](wyatt_authentication_bloc/wyatt_authentication_bloc-library.md) +An authentication library for BLoC. + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/search.md b/packages/wyatt_authentication_bloc/doc/api/search.md new file mode 100644 index 00000000..0fedbdcf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/search.md @@ -0,0 +1,6 @@ +# 404 + +Oops, something's gone wrong :-( + +You've tried to visit a page that doesn't exist. Luckily this site has other +[pages](index.md). diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account-class.md new file mode 100644 index 00000000..f52d7482 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account-class.md @@ -0,0 +1,237 @@ + + + +# Account class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Represents a user Account in the +various identity provisioning systems.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- Account + + + +**Implementers** + +- [AccountModel](../wyatt_authentication_bloc/AccountModel-class.md) + + + + + +## Constructors + +[Account](../wyatt_authentication_bloc/Account/Account.md) ({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) id, required [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isAnonymous, required [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) emailVerified, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) providerId, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? email, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? phoneNumber, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? photoURL, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? creationTime, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? lastSignInTime, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? isNewUser, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? accessToken, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? refreshToken}) + + _const_ + + +## Properties + +##### [accessToken](../wyatt_authentication_bloc/Account/accessToken.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The user access token +_final_ + + + +##### [creationTime](../wyatt_authentication_bloc/Account/creationTime.md) → [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? + + + +Returns the users account creation time. +_final_ + + + +##### [email](../wyatt_authentication_bloc/Account/email.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The users email address. +_final_ + + + +##### [emailVerified](../wyatt_authentication_bloc/Account/emailVerified.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Returns whether the users email address has been verified. +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [id](../wyatt_authentication_bloc/Account/id.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +The user's unique ID. +_final_ + + + +##### [isAnonymous](../wyatt_authentication_bloc/Account/isAnonymous.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Returns whether the user is a anonymous. +_final_ + + + +##### [isNewUser](../wyatt_authentication_bloc/Account/isNewUser.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +Whether the user account has been recently created. +_final_ + + + +##### [lastSignInTime](../wyatt_authentication_bloc/Account/lastSignInTime.md) → [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? + + + +When the user last signed in as dictated by the server clock. +_final_ + + + +##### [phoneNumber](../wyatt_authentication_bloc/Account/phoneNumber.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Returns the users phone number. +_final_ + + + +##### [photoURL](../wyatt_authentication_bloc/Account/photoURL.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Returns a photo URL for the user. +_final_ + + + +##### [props](../wyatt_authentication_bloc/Account/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [providerId](../wyatt_authentication_bloc/Account/providerId.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +The provider ID for the user. +_final_ + + + +##### [refreshToken](../wyatt_authentication_bloc/Account/refreshToken.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The user refresh token +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/Account/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyoverride_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/Account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/Account.md new file mode 100644 index 00000000..22006c3c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/Account.md @@ -0,0 +1,43 @@ + + + +# Account constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +Account({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) id, required [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isAnonymous, required [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) emailVerified, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) providerId, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? email, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? phoneNumber, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? photoURL, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? creationTime, [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? lastSignInTime, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? isNewUser, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? accessToken, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? refreshToken}) + + + + + +## Implementation + +```dart +const Account({ + required this.id, + required this.isAnonymous, + required this.emailVerified, + required this.providerId, + this.email, + this.phoneNumber, + this.photoURL, + this.creationTime, + this.lastSignInTime, + this.isNewUser, + this.accessToken, + this.refreshToken, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/accessToken.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/accessToken.md new file mode 100644 index 00000000..0ceb6c2e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/accessToken.md @@ -0,0 +1,34 @@ + + + +# accessToken property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? accessToken + +_final_ + + + +

The user access token

+ + + +## Implementation + +```dart +final String? accessToken; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/creationTime.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/creationTime.md new file mode 100644 index 00000000..cf5dfe5c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/creationTime.md @@ -0,0 +1,35 @@ + + + +# creationTime property + + + + + *[](https://dart.dev/null-safety)* + + + +[DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? creationTime + +_final_ + + + +

Returns the users account creation time.

+

When this account was created as dictated by the server clock.

+ + + +## Implementation + +```dart +final DateTime? creationTime; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/email.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/email.md new file mode 100644 index 00000000..2d007ce3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/email.md @@ -0,0 +1,35 @@ + + + +# email property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? email + +_final_ + + + +

The users email address.

+

Will be null if signing in anonymously.

+ + + +## Implementation + +```dart +final String? email; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/emailVerified.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/emailVerified.md new file mode 100644 index 00000000..e4e36b29 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/emailVerified.md @@ -0,0 +1,35 @@ + + + +# emailVerified property + + + + + *[](https://dart.dev/null-safety)* + + + +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) emailVerified + +_final_ + + + +

Returns whether the users email address has been verified.

+

To send a verification email, see SendEmailVerification.

+ + + +## Implementation + +```dart +final bool emailVerified; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/id.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/id.md new file mode 100644 index 00000000..4796ed2f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/id.md @@ -0,0 +1,34 @@ + + + +# id property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) id + +_final_ + + + +

The user's unique ID.

+ + + +## Implementation + +```dart +final String id; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isAnonymous.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isAnonymous.md new file mode 100644 index 00000000..324b4fda --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isAnonymous.md @@ -0,0 +1,34 @@ + + + +# isAnonymous property + + + + + *[](https://dart.dev/null-safety)* + + + +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isAnonymous + +_final_ + + + +

Returns whether the user is a anonymous.

+ + + +## Implementation + +```dart +final bool isAnonymous; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isNewUser.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isNewUser.md new file mode 100644 index 00000000..f96ab918 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/isNewUser.md @@ -0,0 +1,34 @@ + + + +# isNewUser property + + + + + *[](https://dart.dev/null-safety)* + + + +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? isNewUser + +_final_ + + + +

Whether the user account has been recently created.

+ + + +## Implementation + +```dart +final bool? isNewUser; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/lastSignInTime.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/lastSignInTime.md new file mode 100644 index 00000000..0f257f63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/lastSignInTime.md @@ -0,0 +1,34 @@ + + + +# lastSignInTime property + + + + + *[](https://dart.dev/null-safety)* + + + +[DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? lastSignInTime + +_final_ + + + +

When the user last signed in as dictated by the server clock.

+ + + +## Implementation + +```dart +final DateTime? lastSignInTime; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/phoneNumber.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/phoneNumber.md new file mode 100644 index 00000000..7b33f623 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/phoneNumber.md @@ -0,0 +1,36 @@ + + + +# phoneNumber property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? phoneNumber + +_final_ + + + +

Returns the users phone number.

+

This property will be null if the user has not signed in or been has +their phone number linked.

+ + + +## Implementation + +```dart +final String? phoneNumber; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/photoURL.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/photoURL.md new file mode 100644 index 00000000..c76a2896 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/photoURL.md @@ -0,0 +1,36 @@ + + + +# photoURL property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? photoURL + +_final_ + + + +

Returns a photo URL for the user.

+

This property will be populated if the user has signed in or been linked +with a 3rd party OAuth provider (such as Google).

+ + + +## Implementation + +```dart +final String? photoURL; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/props.md new file mode 100644 index 00000000..619e2501 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/props.md @@ -0,0 +1,55 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [ + id, + isAnonymous, + email, + emailVerified, + phoneNumber, + photoURL, + creationTime, + lastSignInTime, + providerId, + isNewUser, + accessToken, + refreshToken, + ]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/providerId.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/providerId.md new file mode 100644 index 00000000..a539b552 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/providerId.md @@ -0,0 +1,34 @@ + + + +# providerId property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) providerId + +_final_ + + + +

The provider ID for the user.

+ + + +## Implementation + +```dart +final String providerId; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/refreshToken.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/refreshToken.md new file mode 100644 index 00000000..781948d8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/refreshToken.md @@ -0,0 +1,34 @@ + + + +# refreshToken property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? refreshToken + +_final_ + + + +

The user refresh token

+ + + +## Implementation + +```dart +final String? refreshToken; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/stringify.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/stringify.md new file mode 100644 index 00000000..8df8a404 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Account/stringify.md @@ -0,0 +1,47 @@ + + + +# stringify property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) stringify + +_override_ + + + +

If set to true, the toString method will be overridden to output +this instance's props.

+

A global default value for stringify can be set using +EquatableConfig.stringify.

+

If this instance's stringify is set to null, the value of +EquatableConfig.stringify will be used instead. This defaults to +false.

+ + + +## Implementation + +```dart +@override +bool get stringify => true; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel-class.md new file mode 100644 index 00000000..68088ea5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel-class.md @@ -0,0 +1,247 @@ + + + +# AccountModel class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Account Model to parse Firebase User data

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [Account](../wyatt_authentication_bloc/Account-class.md) +- AccountModel + + + + + + + + +## Constructors + +[AccountModel.fromFirebaseUser](../wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md) ([User](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/User-class.html)? user, {[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? accessToken}) + + _factory_ + +[AccountModel.fromFirebaseUserCredential](../wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md) ([UserCredential](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/UserCredential-class.html)? userCredential) + + _factory_ + + +## Properties + +##### [accessToken](../wyatt_authentication_bloc/Account/accessToken.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The user access token +_finalinherited_ + + + +##### [creationTime](../wyatt_authentication_bloc/Account/creationTime.md) → [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? + + + +Returns the users account creation time. +_finalinherited_ + + + +##### [email](../wyatt_authentication_bloc/Account/email.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The users email address. +_finalinherited_ + + + +##### [emailVerified](../wyatt_authentication_bloc/Account/emailVerified.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Returns whether the users email address has been verified. +_finalinherited_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [id](../wyatt_authentication_bloc/Account/id.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +The user's unique ID. +_finalinherited_ + + + +##### [isAnonymous](../wyatt_authentication_bloc/Account/isAnonymous.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Returns whether the user is a anonymous. +_finalinherited_ + + + +##### [isNewUser](../wyatt_authentication_bloc/Account/isNewUser.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +Whether the user account has been recently created. +_finalinherited_ + + + +##### [lastSignInTime](../wyatt_authentication_bloc/Account/lastSignInTime.md) → [DateTime](https://api.flutter.dev/flutter/dart-core/DateTime-class.html)? + + + +When the user last signed in as dictated by the server clock. +_finalinherited_ + + + +##### [phoneNumber](../wyatt_authentication_bloc/Account/phoneNumber.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Returns the users phone number. +_finalinherited_ + + + +##### [photoURL](../wyatt_authentication_bloc/Account/photoURL.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Returns a photo URL for the user. +_finalinherited_ + + + +##### [props](../wyatt_authentication_bloc/Account/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyinherited_ + + + +##### [providerId](../wyatt_authentication_bloc/Account/providerId.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +The provider ID for the user. +_finalinherited_ + + + +##### [refreshToken](../wyatt_authentication_bloc/AccountModel/refreshToken.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +The user refresh token +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/Account/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + +##### [user](../wyatt_authentication_bloc/AccountModel/user.md) → [User](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/User-class.html)? + + + + +_final_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md new file mode 100644 index 00000000..f040be39 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUser.md @@ -0,0 +1,51 @@ + + + +# AccountModel.fromFirebaseUser constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AccountModel.fromFirebaseUser([User](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/User-class.html)? user, {[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? accessToken}) + + + + + +## Implementation + +```dart +factory AccountModel.fromFirebaseUser(User? user, {String? accessToken}) { + if (user != null) { + final providerId = + (user.providerData.isEmpty) ? '' : user.providerData.first.providerId; + return AccountModel._( + user: user, + id: user.uid, + emailVerified: user.emailVerified, + isAnonymous: user.isAnonymous, + providerId: providerId, + creationTime: user.metadata.creationTime, + lastSignInTime: user.metadata.lastSignInTime, + isNewUser: false, + email: user.email, + phoneNumber: user.phoneNumber, + photoURL: user.photoURL, + accessToken: accessToken, + ); + } else { + throw ModelParsingFailureFirebase('null-user', 'User cannot be null'); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md new file mode 100644 index 00000000..ac8c078e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/AccountModel.fromFirebaseUserCredential.md @@ -0,0 +1,54 @@ + + + +# AccountModel.fromFirebaseUserCredential constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AccountModel.fromFirebaseUserCredential([UserCredential](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/UserCredential-class.html)? userCredential) + + + + + +## Implementation + +```dart +factory AccountModel.fromFirebaseUserCredential( + UserCredential? userCredential, +) { + final user = userCredential?.user; + if (user != null) { + final providerId = + (user.providerData.isEmpty) ? '' : user.providerData.first.providerId; + return AccountModel._( + user: user, + id: user.uid, + emailVerified: user.emailVerified, + isAnonymous: user.isAnonymous, + providerId: providerId, + creationTime: user.metadata.creationTime, + lastSignInTime: user.metadata.lastSignInTime, + isNewUser: userCredential?.additionalUserInfo?.isNewUser, + email: user.email, + phoneNumber: user.phoneNumber, + photoURL: user.photoURL, + accessToken: userCredential?.credential?.accessToken, + ); + } else { + throw ModelParsingFailureFirebase('null-user', 'User cannot be null'); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/refreshToken.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/refreshToken.md new file mode 100644 index 00000000..f8863731 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/refreshToken.md @@ -0,0 +1,41 @@ + + + +# refreshToken property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? refreshToken + +_override_ + + + +

The user refresh token

+ + + +## Implementation + +```dart +@override +String? get refreshToken => user?.refreshToken; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/user.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/user.md new file mode 100644 index 00000000..e0146cab --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AccountModel/user.md @@ -0,0 +1,33 @@ + + + +# user property + + + + + *[](https://dart.dev/null-safety)* + + + +[User](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/User-class.html)? user + +_final_ + + + + + + +## Implementation + +```dart +final User? user; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md new file mode 100644 index 00000000..451ed5dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# ApplyActionCodeFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown if during the apply action code process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [ApplyActionCodeFailureInterface](../wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md) +- ApplyActionCodeFailureFirebase + + + + + + + + +## Constructors + +[ApplyActionCodeFailureFirebase](../wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[ApplyActionCodeFailureFirebase.fromCode](../wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md new file mode 100644 index 00000000..1c261bc6 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.fromCode.md @@ -0,0 +1,49 @@ + + + +# ApplyActionCodeFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ApplyActionCodeFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ApplyActionCodeFailureFirebase.fromCode(String code) : super.fromCode(code) { + switch (code) { + case 'expired-action-code': + msg = 'Action code has expired.'; + break; + case 'invalid-action-code': + msg = 'Action code is invalid.'; + break; + case 'user-disabled': + msg = 'This user has been disabled. Please contact support for help.'; + break; + case 'user-not-found': + msg = 'Email is not found, please create an account.'; + break; + + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md new file mode 100644 index 00000000..2e03e5ae --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureFirebase/ApplyActionCodeFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# ApplyActionCodeFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ApplyActionCodeFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +ApplyActionCodeFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md new file mode 100644 index 00000000..487660fd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# ApplyActionCodeFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown if during the apply action code process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- ApplyActionCodeFailureInterface + + + +**Implementers** + +- [ApplyActionCodeFailureFirebase](../wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md) + + + + + +## Constructors + +[ApplyActionCodeFailureInterface](../wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown if during the apply action code process if a failure occurs. + +[ApplyActionCodeFailureInterface.fromCode](../wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown if during the apply action code process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md new file mode 100644 index 00000000..72b11f2d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# ApplyActionCodeFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ApplyActionCodeFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown if during the apply action code process if a failure occurs.

+ + + +## Implementation + +```dart +ApplyActionCodeFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md new file mode 100644 index 00000000..0fb17fe9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ApplyActionCodeFailureInterface/ApplyActionCodeFailureInterface.md @@ -0,0 +1,31 @@ + + + +# ApplyActionCodeFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ApplyActionCodeFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown if during the apply action code process if a failure occurs.

+ + + +## Implementation + +```dart +ApplyActionCodeFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField-class.md new file mode 100644 index 00000000..9ccd48b3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField-class.md @@ -0,0 +1,122 @@ + + + +# AuthFormField class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Default authentication form fields name

+ + + + +## Constructors + +[AuthFormField](../wyatt_authentication_bloc/AuthFormField/AuthFormField.md) () + + + + +## Properties + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + +## Constants + +##### [confirmPassword](../wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Confirm Password field: wyattConfirmPasswordField + + + + +##### [email](../wyatt_authentication_bloc/AuthFormField/email-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Email field: wyattEmailField + + + + +##### [password](../wyatt_authentication_bloc/AuthFormField/password-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Password field: wyattPasswordField + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/AuthFormField.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/AuthFormField.md new file mode 100644 index 00000000..ab98b830 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/AuthFormField.md @@ -0,0 +1,25 @@ + + + +# AuthFormField constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthFormField() + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md new file mode 100644 index 00000000..7b7ac157 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/confirmPassword-constant.md @@ -0,0 +1,34 @@ + + + +# confirmPassword constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const confirmPassword + + + + + +

Confirm Password field: wyattConfirmPasswordField

+ + + +## Implementation + +```dart +static const confirmPassword = 'wyattConfirmPasswordField'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/email-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/email-constant.md new file mode 100644 index 00000000..9d842070 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/email-constant.md @@ -0,0 +1,34 @@ + + + +# email constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const email + + + + + +

Email field: wyattEmailField

+ + + +## Implementation + +```dart +static const email = 'wyattEmailField'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/password-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/password-constant.md new file mode 100644 index 00000000..00dbfc9d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormField/password-constant.md @@ -0,0 +1,34 @@ + + + +# password constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const password + + + + + +

Password field: wyattPasswordField

+ + + +## Implementation + +```dart +static const password = 'wyattPasswordField'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName-class.md new file mode 100644 index 00000000..f1c34250 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName-class.md @@ -0,0 +1,131 @@ + + + +# AuthFormName class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Default authentication form name

+ + + + +## Constructors + +[AuthFormName](../wyatt_authentication_bloc/AuthFormName/AuthFormName.md) () + + + + +## Properties + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + +## Constants + +##### [editAccountForm](../wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Edit account form: wyattEditAccountForm + + + + +##### [passwordResetForm](../wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Password reset form: wyattPasswordResetForm + + + + +##### [signInForm](../wyatt_authentication_bloc/AuthFormName/signInForm-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Sign In form: wyattSignInForm + + + + +##### [signUpForm](../wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md) const [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Sign Up form: wyattSignUpForm + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/AuthFormName.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/AuthFormName.md new file mode 100644 index 00000000..060a09c7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/AuthFormName.md @@ -0,0 +1,25 @@ + + + +# AuthFormName constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthFormName() + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md new file mode 100644 index 00000000..87add4b3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/editAccountForm-constant.md @@ -0,0 +1,34 @@ + + + +# editAccountForm constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const editAccountForm + + + + + +

Edit account form: wyattEditAccountForm

+ + + +## Implementation + +```dart +static const String editAccountForm = 'wyattEditAccountForm'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md new file mode 100644 index 00000000..0732203c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/passwordResetForm-constant.md @@ -0,0 +1,34 @@ + + + +# passwordResetForm constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const passwordResetForm + + + + + +

Password reset form: wyattPasswordResetForm

+ + + +## Implementation + +```dart +static const String passwordResetForm = 'wyattPasswordResetForm'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signInForm-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signInForm-constant.md new file mode 100644 index 00000000..b5863475 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signInForm-constant.md @@ -0,0 +1,34 @@ + + + +# signInForm constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const signInForm + + + + + +

Sign In form: wyattSignInForm

+ + + +## Implementation + +```dart +static const String signInForm = 'wyattSignInForm'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md new file mode 100644 index 00000000..83820763 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthFormName/signUpForm-constant.md @@ -0,0 +1,34 @@ + + + +# signUpForm constant + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) const signUpForm + + + + + +

Sign Up form: wyattSignUpForm

+ + + +## Implementation + +```dart +static const String signUpForm = 'wyattSignUpForm'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder-class.md new file mode 100644 index 00000000..ba5fe7a2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder-class.md @@ -0,0 +1,216 @@ + + + +# AuthenticationBuilder<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) +- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) +- [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) +- AuthenticationBuilder + + + + + + + + +## Constructors + +[AuthenticationBuilder](../wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md) ({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) authenticated([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) unauthenticated([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) unknown([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + _const_ + + +## Properties + +##### [authenticated](../wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) → [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? + + + +Controls how one widget replaces another widget in the tree. +_finalinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [unauthenticated](../wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + + + + +_final_ + + + +##### [unknown](../wyatt_authentication_bloc/AuthenticationBuilder/unknown.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + + + + +_final_ + + + + + +## Methods + +##### [build](../wyatt_authentication_bloc/AuthenticationBuilder/build.md)([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + +Describes the part of the user interface represented by this widget. +_override_ + + + +##### [createElement](https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html)() [StatelessElement](https://api.flutter.dev/flutter/widgets/StatelessElement-class.html) + + + +Creates a StatelessElement to manage this widget's location in the tree. +_inherited_ + + + +##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)> + + + +Returns a list of DiagnosticsNode objects describing this node's +children. +_inherited_ + + + +##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void + + + +Add additional properties associated with the node. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html)? style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html) + + + +Returns a debug representation of the object that is used by debugging +tools and by DiagnosticsNode.toStringDeep. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a string representation of this node and its descendants. +_inherited_ + + + +##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a one-line detailed description of the object. +_inherited_ + + + +##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A short, textual description of this widget. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md new file mode 100644 index 00000000..6fa6aa7d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/AuthenticationBuilder.md @@ -0,0 +1,35 @@ + + + +# AuthenticationBuilder<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationBuilder<Data>({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) authenticated([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) unauthenticated([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) unknown([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + + + + +## Implementation + +```dart +const AuthenticationBuilder({ + required this.authenticated, + required this.unauthenticated, + required this.unknown, + super.key, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md new file mode 100644 index 00000000..421ea1b9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/authenticated.md @@ -0,0 +1,36 @@ + + + +# authenticated property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper) authenticated + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function( + BuildContext context, + SessionWrapper sessionWrapper, +) authenticated; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/build.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/build.md new file mode 100644 index 00000000..5b5680da --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/build.md @@ -0,0 +1,85 @@ + + + +# build method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) build +([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + +_override_ + + + +

Describes the part of the user interface represented by this widget.

+

The framework calls this method when this widget is inserted into the tree +in a given BuildContext and when the dependencies of this widget change +(e.g., an InheritedWidget referenced by this widget changes). This +method can potentially be called in every frame and should not have any side +effects beyond building a widget.

+

The framework replaces the subtree below this widget with the widget +returned by this method, either by updating the existing subtree or by +removing the subtree and inflating a new subtree, depending on whether the +widget returned by this method can update the root of the existing +subtree, as determined by calling Widget.canUpdate.

+

Typically implementations return a newly created constellation of widgets +that are configured with information from this widget's constructor and +from the given BuildContext.

+

The given BuildContext contains information about the location in the +tree at which this widget is being built. For example, the context +provides the set of inherited widgets for this location in the tree. A +given widget might be built with multiple different BuildContext +arguments over time if the widget is moved around the tree or if the +widget is inserted into the tree in multiple places at once.

+

The implementation of this method must only depend on:

+ +

If a widget's build method is to depend on anything else, use a +StatefulWidget instead.

+

See also:

+
    +
  • StatelessWidget, which contains the discussion on performance considerations.
  • +
+ + + +## Implementation + +```dart +@override +Widget build(BuildContext context) => + BlocBuilder, AuthenticationState>( + builder: (context, state) { + if (state.status == AuthenticationStatus.authenticated) { + if (state.wrapper != null) { + return authenticated(context, state.wrapper!); + } else { + return unauthenticated(context); + } + } else if (state.status == AuthenticationStatus.unauthenticated) { + return unauthenticated(context); + } else { + return unknown(context); + } + }, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md new file mode 100644 index 00000000..09ac9fe3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unauthenticated.md @@ -0,0 +1,33 @@ + + + +# unauthenticated property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) unauthenticated + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function(BuildContext context) unauthenticated; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unknown.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unknown.md new file mode 100644 index 00000000..4573308e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationBuilder/unknown.md @@ -0,0 +1,33 @@ + + + +# unknown property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) unknown + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function(BuildContext context) unknown; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent-class.md new file mode 100644 index 00000000..4cb045d8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent-class.md @@ -0,0 +1,137 @@ + + + +# AuthenticationChangeEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Represents an event initiated by a change in +the user's authentication status.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- AuthenticationChangeEvent + + + +**Implementers** + +- [DeletedEvent](../wyatt_authentication_bloc/DeletedEvent-class.md) +- [ReauthenticatedEvent](../wyatt_authentication_bloc/ReauthenticatedEvent-class.md) +- [RefreshedEvent](../wyatt_authentication_bloc/RefreshedEvent-class.md) +- [SignedInEvent](../wyatt_authentication_bloc/SignedInEvent-class.md) +- [SignedInFromCacheEvent](../wyatt_authentication_bloc/SignedInFromCacheEvent-class.md) +- [SignedOutEvent](../wyatt_authentication_bloc/SignedOutEvent-class.md) +- [SignedUpEvent](../wyatt_authentication_bloc/SignedUpEvent-class.md) +- [UnknownAuthenticationEvent](../wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md) +- [UpdatedEvent](../wyatt_authentication_bloc/UpdatedEvent-class.md) + + + + + +## Constructors + +[AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md) () + + _const_ + + +## Properties + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/AuthenticationChangeEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyoverride_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md new file mode 100644 index 00000000..82567010 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/AuthenticationChangeEvent.md @@ -0,0 +1,30 @@ + + + +# AuthenticationChangeEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationChangeEvent() + + + + + +## Implementation + +```dart +const AuthenticationChangeEvent(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/props.md new file mode 100644 index 00000000..35d92209 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => []; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md new file mode 100644 index 00000000..a2e1620f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md @@ -0,0 +1,47 @@ + + + +# stringify property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) stringify + +_override_ + + + +

If set to true, the toString method will be overridden to output +this instance's props.

+

A global default value for stringify can be set using +EquatableConfig.stringify.

+

If this instance's stringify is set to null, the value of +EquatableConfig.stringify will be used instead. This defaults to +false.

+ + + +## Implementation + +```dart +@override +bool get stringify => true; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit-class.md new file mode 100644 index 00000000..3758c56f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit-class.md @@ -0,0 +1,292 @@ + + + +# AuthenticationCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Abstract authentication cubit class needs to be implemented in application.

+

This cubit is in charge of managing the global authentication state of +the application.

+

Its here you can override every callbacks and add your custom logic.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data>> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data>> +- AuthenticationCubit + + + + + + + + +## Constructors + +[AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data> + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data>> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [currentSession](../wyatt_authentication_bloc/AuthenticationCubit/currentSession.md)() [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? + + + +Returns latest session wrapper. + + + + +##### [delete](../wyatt_authentication_bloc/AuthenticationCubit/delete.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Delete account. + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data> state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data>> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onDelete](../wyatt_authentication_bloc/AuthenticationCubit/onDelete.md)() FutureOrResult<void> + + + +This callback is triggered when the current account is deleted from +the remote. + + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onReauthenticate](../wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result) FutureOrResult<Data?> + + + +This callback is triggered when the account is re-authenticated + + + + +##### [onRefresh](../wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result) FutureOrResult<Data?> + + + +This callback is triggered when the account is refreshed. + + + + +##### [onSignInFromCache](../wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md)([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) FutureOrResult<Data?> + + + +This callback is triggered when the user is automaticcaly logged in from +the cache. + + + + +##### [onSignOut](../wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md)() FutureOrResult<void> + + + +This callback is triggered when the user is logged out. + + + + +##### [reauthenticate](../wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in. + + + + +##### [refresh](../wyatt_authentication_bloc/AuthenticationCubit/refresh.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Refreshes the current user, if signed in. + + + + +##### [signOut](../wyatt_authentication_bloc/AuthenticationCubit/signOut.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Signs out the current user. +It also clears the cache and the associated data. + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md new file mode 100644 index 00000000..8a689e53 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/AuthenticationCubit.md @@ -0,0 +1,34 @@ + + + +# AuthenticationCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +AuthenticationCubit({ + required this.authenticationRepository, +}) : super(const AuthenticationState.unknown()) { + _listenForAuthenticationChanges(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md new file mode 100644 index 00000000..32cdfa2a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/currentSession.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/currentSession.md new file mode 100644 index 00000000..855d8d0e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/currentSession.md @@ -0,0 +1,37 @@ + + + +# currentSession method + + + + + *[](https://dart.dev/null-safety)* + + + + +[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? currentSession +() + + + + + +

Returns latest session wrapper.

+

Contains latest event and latest session data (account + extra data)

+ + + +## Implementation + +```dart +SessionWrapper? currentSession() => _latestSession; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/delete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/delete.md new file mode 100644 index 00000000..849e1aca --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/delete.md @@ -0,0 +1,44 @@ + + + +# delete method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> delete +() + + + + + +

Delete account.

+

Throws a DeleteAccountFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr delete() async => CustomRoutine( + routine: authenticationRepository.delete, + attachedLogic: (routineResult) => onDelete(), + onError: addError, + onSuccess: (result, data) => authenticationRepository + .addSession(SessionWrapper(event: const DeletedEvent())), + ).call(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onDelete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onDelete.md new file mode 100644 index 00000000..b5fd50a4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onDelete.md @@ -0,0 +1,38 @@ + + + +# onDelete method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> onDelete +() + + + + + +

This callback is triggered when the current account is deleted from +the remote.

+

For example: when the user wants to delete his account from Firebase

+ + + +## Implementation + +```dart +FutureOrResult onDelete(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md new file mode 100644 index 00000000..434c5de1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onReauthenticate.md @@ -0,0 +1,38 @@ + + + +# onReauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onReauthenticate +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result) + + + + + +

This callback is triggered when the account is re-authenticated

+

For example: when the user is logged in and sign in +from an another provider

+ + + +## Implementation + +```dart +FutureOrResult onReauthenticate(Result result); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md new file mode 100644 index 00000000..b3812fa8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onRefresh.md @@ -0,0 +1,37 @@ + + + +# onRefresh method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onRefresh +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result) + + + + + +

This callback is triggered when the account is refreshed.

+

For example: when the access token is refreshed.

+ + + +## Implementation + +```dart +FutureOrResult onRefresh(Result result); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md new file mode 100644 index 00000000..3f0ccf94 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignInFromCache.md @@ -0,0 +1,38 @@ + + + +# onSignInFromCache method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onSignInFromCache +([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) + + + + + +

This callback is triggered when the user is automaticcaly logged in from +the cache.

+

For example: when the user is sign in from the Firebase cache.

+ + + +## Implementation + +```dart +FutureOrResult onSignInFromCache(SessionWrapper wrapper); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md new file mode 100644 index 00000000..930d66b7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/onSignOut.md @@ -0,0 +1,37 @@ + + + +# onSignOut method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> onSignOut +() + + + + + +

This callback is triggered when the user is logged out.

+

For example: when the user clicks on the logout button.

+ + + +## Implementation + +```dart +FutureOrResult onSignOut(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md new file mode 100644 index 00000000..b2eeb9c5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/reauthenticate.md @@ -0,0 +1,53 @@ + + + +# reauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> reauthenticate +() + + + + + +

Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in.

+

Throws a ReauthenticateFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr reauthenticate() async => CustomRoutine( + routine: authenticationRepository.reauthenticate, + attachedLogic: onReauthenticate, + onError: addError, + onSuccess: (result, data) => authenticationRepository.addSession( + SessionWrapper( + event: ReauthenticatedEvent(account: result), + session: Session( + account: result, + data: data, + ), + ), + ), + ).call(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/refresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/refresh.md new file mode 100644 index 00000000..be643224 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/refresh.md @@ -0,0 +1,49 @@ + + + +# refresh method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> refresh +() + + + + + +

Refreshes the current user, if signed in.

+ + + +## Implementation + +```dart +FutureOr refresh() async => CustomRoutine( + routine: authenticationRepository.refresh, + attachedLogic: onRefresh, + onError: addError, + onSuccess: (result, data) => authenticationRepository.addSession( + SessionWrapper( + event: RefreshedEvent(account: result), + session: Session( + account: result, + data: data, + ), + ), + ), + ).call(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/signOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/signOut.md new file mode 100644 index 00000000..f2634117 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationCubit/signOut.md @@ -0,0 +1,43 @@ + + + +# signOut method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> signOut +() + + + + + +

Signs out the current user. +It also clears the cache and the associated data.

+ + + +## Implementation + +```dart +FutureOr signOut() async => CustomRoutine( + routine: authenticationRepository.signOut, + attachedLogic: (routineResult) => onSignOut(), + onError: addError, + onSuccess: (result, data) => authenticationRepository + .addSession(SessionWrapper(event: const SignedOutEvent())), + ).call(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface-class.md new file mode 100644 index 00000000..36c265c0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface-class.md @@ -0,0 +1,159 @@ + + + +# AuthenticationFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Base exception used in Wyatt Authentication

+ + + + +**Implemented types** + +- [Exception](https://api.flutter.dev/flutter/dart-core/Exception-class.html) + + +**Implementers** + +- [ApplyActionCodeFailureInterface](../wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md) +- [ConfirmPasswordResetFailureInterface](../wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md) +- [DeleteAccountFailureInterface](../wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md) +- [FetchSignInMethodsForEmailFailureInterface](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md) +- [ModelParsingFailureInterface](../wyatt_authentication_bloc/ModelParsingFailureInterface-class.md) +- [ReauthenticateFailureInterface](../wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md) +- [RefreshFailureInterface](../wyatt_authentication_bloc/RefreshFailureInterface-class.md) +- [SendEmailVerificationFailureInterface](../wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md) +- [SendPasswordResetEmailFailureInterface](../wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md) +- [SendSignInLinkEmailFailureInterface](../wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md) +- [SignInAnonymouslyFailureInterface](../wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md) +- [SignInWithAppleFailureInterface](../wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- [SignInWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md) +- [SignInWithEmailLinkFailureInterface](../wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md) +- [SignInWithFacebookFailureInterface](../wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md) +- [SignInWithGoogleFailureInterface](../wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md) +- [SignInWithTwitterFailureInterface](../wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md) +- [SignOutFailureInterface](../wyatt_authentication_bloc/SignOutFailureInterface-class.md) +- [SignUpWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md) +- [UpdateEmailFailureInterface](../wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md) +- [UpdatePasswordFailureInterface](../wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md) +- [VerifyPasswordResetCodeFailureInterface](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md) + + + + + +## Constructors + +[AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[AuthenticationFailureInterface.fromCode](../wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / write_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-only_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / write_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md new file mode 100644 index 00000000..96605d88 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# AuthenticationFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +AuthenticationFailureInterface.fromCode(this.code) + : msg = 'An unknown error occurred.'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md new file mode 100644 index 00000000..b64683e8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/AuthenticationFailureInterface.md @@ -0,0 +1,30 @@ + + + +# AuthenticationFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +AuthenticationFailureInterface(this.code, this.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/code.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/code.md new file mode 100644 index 00000000..7d6e8996 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/code.md @@ -0,0 +1,33 @@ + + + +# code property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) code + +_read / write_ + + + + + + +## Implementation + +```dart +String code; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/message.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/message.md new file mode 100644 index 00000000..fed51258 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/message.md @@ -0,0 +1,40 @@ + + + +# message property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) message + + + + + + + + +## Implementation + +```dart +@override +String get message => msg; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md new file mode 100644 index 00000000..820911a4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md @@ -0,0 +1,33 @@ + + + +# msg property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg + +_read / write_ + + + + + + +## Implementation + +```dart +String msg; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md new file mode 100644 index 00000000..adf014b9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md @@ -0,0 +1,53 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_inherited_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +String toString() { + if (message.isNotNullOrEmpty) { + return '$runtimeType: $message'; + } else { + return '$runtimeType: An exception occured'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md new file mode 100644 index 00000000..39635ba2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md @@ -0,0 +1,251 @@ + + + +# AuthenticationFirebaseDataSourceImpl<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> +- AuthenticationFirebaseDataSourceImpl + + + + + + + + +## Constructors + +[AuthenticationFirebaseDataSourceImpl](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md) ({[FirebaseAuth](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/FirebaseAuth-class.html)? firebaseAuth, [GoogleSignIn](https://pub.dev/documentation/google_sign_in/5.4.2/google_sign_in/GoogleSignIn-class.html)? googleSignIn}) + + + + +## Properties + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [addSession](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md)([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) void + + + +Add a new authentication event. +_override_ + + + +##### [confirmPasswordReset](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Confirms the password reset with the provided newPassword and code. +_override_ + + + +##### [delete](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Delete account. +_override_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [reauthenticate](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in. +_override_ + + + +##### [refresh](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Refreshes the current user, if signed in. +_override_ + + + +##### [sendEmailVerification](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Sends verification email to the account email. +_override_ + + + +##### [sendPasswordResetEmail](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Sends a password reset email to the provided email. +_override_ + + + +##### [sessionStream](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md)() [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> + + + +Authentication state change event stream. +_override_ + + + +##### [signInAnonymously](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Sign in anonymously. +_override_ + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Signs in with the provided email and password. +_override_ + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Starts the Sign In with Google Flow. +_override_ + + + +##### [signOut](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Signs out the current user. +It also clears the cache and the associated data. +_override_ + + + +##### [signUpWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Creates a new user with the provided email and password. +_override_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add email. +_override_ + + + +##### [updatePassword](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add password. +_override_ + + + +##### [verifyPasswordResetCode](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> + + + +Verify password reset code. +_override_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md new file mode 100644 index 00000000..d6364dcf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/AuthenticationFirebaseDataSourceImpl.md @@ -0,0 +1,40 @@ + + + +# AuthenticationFirebaseDataSourceImpl<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationFirebaseDataSourceImpl<Data>({[FirebaseAuth](https://pub.dev/documentation/firebase_auth/4.2.0/firebase_auth/FirebaseAuth-class.html)? firebaseAuth, [GoogleSignIn](https://pub.dev/documentation/google_sign_in/5.4.2/google_sign_in/GoogleSignIn-class.html)? googleSignIn}) + + + + + +## Implementation + +```dart +AuthenticationFirebaseDataSourceImpl({ + FirebaseAuth? firebaseAuth, + GoogleSignIn? googleSignIn, +}) : _firebaseAuth = firebaseAuth ?? FirebaseAuth.instance, + _googleSignIn = googleSignIn ?? GoogleSignIn() { + _latestCredentials = BehaviorSubject(); + _sessionStream = BehaviorSubject(); + + // Check for account in memory (persistence) + _checkForCachedAccount(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md new file mode 100644 index 00000000..adb9c34d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/addSession.md @@ -0,0 +1,40 @@ + + + +# addSession method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +void addSession +([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) + +_override_ + + + +

Add a new authentication event.

+ + + +## Implementation + +```dart +@override +void addSession(SessionWrapper wrapper) { + _sessionStream.add(wrapper); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md new file mode 100644 index 00000000..5be2ed73 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/confirmPasswordReset.md @@ -0,0 +1,53 @@ + + + +# confirmPasswordReset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> confirmPasswordReset +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) + +_override_ + + + +

Confirms the password reset with the provided newPassword and code.

+

Throws a ConfirmPasswordResetFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future confirmPasswordReset({ + required String code, + required String newPassword, +}) async { + try { + await _firebaseAuth.confirmPasswordReset( + code: code, + newPassword: newPassword, + ); + } on FirebaseAuthException catch (e) { + throw ConfirmPasswordResetFailureFirebase.fromCode(e.code); + } catch (_) { + throw ConfirmPasswordResetFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md new file mode 100644 index 00000000..64729914 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/delete.md @@ -0,0 +1,48 @@ + + + +# delete method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> delete +() + +_override_ + + + +

Delete account.

+

Throws a DeleteAccountFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future delete() async { + try { + await _firebaseAuth.currentUser!.delete(); + } on FirebaseAuthException catch (e) { + throw DeleteAccountFailureFirebase.fromCode(e.code); + } catch (_) { + throw DeleteAccountFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md new file mode 100644 index 00000000..244efea5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/reauthenticate.md @@ -0,0 +1,61 @@ + + + +# reauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> reauthenticate +() + +_override_ + + + +

Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in.

+

Throws a ReauthenticateFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future reauthenticate() async { + final latestCreds = + await _latestCredentials.stream.asBroadcastStream().last; + try { + if (latestCreds?.credential != null) { + await _firebaseAuth.currentUser + ?.reauthenticateWithCredential(latestCreds!.credential!); + } else { + throw Exception(); // Get caught just after. + } + + final account = AccountModel.fromFirebaseUser(_firebaseAuth.currentUser); + + return account; + } on FirebaseAuthException catch (e) { + throw ReauthenticateFailureFirebase.fromCode(e.code); + } catch (_) { + throw ReauthenticateFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md new file mode 100644 index 00000000..323f75a1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/refresh.md @@ -0,0 +1,52 @@ + + + +# refresh method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> refresh +() + +_override_ + + + +

Refreshes the current user, if signed in.

+ + + +## Implementation + +```dart +@override +Future refresh() async { + try { + final jwt = await _firebaseAuth.currentUser?.getIdToken(true); + final account = AccountModel.fromFirebaseUser( + _firebaseAuth.currentUser, + accessToken: jwt, + ); + + return account; + } on FirebaseAuthException catch (e) { + throw RefreshFailureFirebase.fromCode(e.code); + } catch (_) { + throw RefreshFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md new file mode 100644 index 00000000..36e3bde4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendEmailVerification.md @@ -0,0 +1,47 @@ + + + +# sendEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> sendEmailVerification +() + +_override_ + + + +

Sends verification email to the account email.

+

Throws a SendEmailVerificationFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future sendEmailVerification() async { + try { + await _firebaseAuth.currentUser!.sendEmailVerification(); + } on FirebaseAuthException catch (e) { + throw SendEmailVerificationFailureFirebase.fromCode(e.code); + } catch (_) { + throw SendEmailVerificationFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md new file mode 100644 index 00000000..44ab9cd1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sendPasswordResetEmail.md @@ -0,0 +1,47 @@ + + + +# sendPasswordResetEmail method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> sendPasswordResetEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + +_override_ + + + +

Sends a password reset email to the provided email.

+

Throws a SendPasswordResetEmailFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future sendPasswordResetEmail({required String email}) async { + try { + await _firebaseAuth.sendPasswordResetEmail(email: email); + } on FirebaseAuthException catch (e) { + throw SendPasswordResetEmailFailureFirebase.fromCode(e.code); + } catch (_) { + throw SendPasswordResetEmailFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md new file mode 100644 index 00000000..d2bd33ab --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/sessionStream.md @@ -0,0 +1,39 @@ + + + +# sessionStream method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> sessionStream +() + +_override_ + + + +

Authentication state change event stream.

+ + + +## Implementation + +```dart +@override +Stream> sessionStream() => + _sessionStream.stream.asBroadcastStream(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md new file mode 100644 index 00000000..80bef88a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInAnonymously.md @@ -0,0 +1,54 @@ + + + +# signInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInAnonymously +() + +_override_ + + + +

Sign in anonymously.

+

Throws a SignInAnonymouslyFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future signInAnonymously() async { + try { + final userCredential = await _firebaseAuth.signInAnonymously(); + + return _addToStream( + userCredential, + (account) => SignedInEvent( + account: account, + ), + ); + } on FirebaseAuthException catch (e) { + throw SignInAnonymouslyFailureFirebase.fromCode(e.code); + } catch (_) { + throw SignInAnonymouslyFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md new file mode 100644 index 00000000..0303cc78 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithEmailAndPassword.md @@ -0,0 +1,61 @@ + + + +# signInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Signs in with the provided email and password.

+

Throws a SignInWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future signInWithEmailAndPassword({ + required String email, + required String password, +}) async { + try { + final userCredential = await _firebaseAuth.signInWithEmailAndPassword( + email: email, + password: password, + ); + + return _addToStream( + userCredential, + (account) => SignedInEvent( + account: account, + ), + ); + } on FirebaseAuthException catch (e) { + throw SignInWithEmailAndPasswordFailureFirebase.fromCode(e.code); + } catch (_) { + throw SignInWithEmailAndPasswordFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md new file mode 100644 index 00000000..a8e00d8f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signInWithGoogle.md @@ -0,0 +1,68 @@ + + + +# signInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithGoogle +() + +_override_ + + + +

Starts the Sign In with Google Flow.

+

Throws a SignInWithGoogleFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future signInWithGoogle() async { + try { + // Trigger the authentication flow + final GoogleSignInAccount? googleUser = await _googleSignIn.signIn(); + + // Obtain the auth details from the request + final GoogleSignInAuthentication? googleAuth = + await googleUser?.authentication; + + // Create a new credential + final credential = GoogleAuthProvider.credential( + accessToken: googleAuth?.accessToken, + idToken: googleAuth?.idToken, + ); + + final userCredential = + await _firebaseAuth.signInWithCredential(credential); + + return _addToStream( + userCredential, + (account) => SignedInEvent( + account: account, + ), + ); + } on FirebaseAuthException catch (e) { + throw SignInWithGoogleFailureFirebase.fromCode(e.code); + } catch (_) { + throw SignInWithGoogleFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md new file mode 100644 index 00000000..8e648e71 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signOut.md @@ -0,0 +1,46 @@ + + + +# signOut method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> signOut +() + +_override_ + + + +

Signs out the current user. +It also clears the cache and the associated data.

+ + + +## Implementation + +```dart +@override +Future signOut() async { + try { + _latestCredentials.add(null); + await _firebaseAuth.signOut(); + } catch (_) { + throw SignOutFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md new file mode 100644 index 00000000..4c81f5e2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/signUpWithEmailAndPassword.md @@ -0,0 +1,62 @@ + + + +# signUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signUpWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Creates a new user with the provided email and password.

+

Returns the newly created user's unique identifier.

+

Throws a SignUpWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future signUpWithEmailAndPassword({ + required String email, + required String password, +}) async { + try { + final userCredential = await _firebaseAuth.createUserWithEmailAndPassword( + email: email, + password: password, + ); + + return _addToStream( + userCredential, + (account) => SignedUpEvent( + account: account, + ), + ); + } on FirebaseAuthException catch (e) { + throw SignUpWithEmailAndPasswordFailureFirebase.fromCode(e.code); + } catch (_) { + throw SignUpWithEmailAndPasswordFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md new file mode 100644 index 00000000..11399787 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updateEmail.md @@ -0,0 +1,55 @@ + + + +# updateEmail method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> updateEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + +_override_ + + + +

Update or add email.

+

Throws a UpdateEmailFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future updateEmail({required String email}) async { + try { + await _firebaseAuth.currentUser!.updateEmail(email); + final jwt = await _firebaseAuth.currentUser!.getIdToken(true); + final account = AccountModel.fromFirebaseUser( + _firebaseAuth.currentUser, + accessToken: jwt, + ); + + return account; + } on FirebaseAuthException catch (e) { + throw UpdateEmailFailureFirebase.fromCode(e.code); + } catch (_) { + throw UpdateEmailFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md new file mode 100644 index 00000000..be85ed32 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/updatePassword.md @@ -0,0 +1,55 @@ + + + +# updatePassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> updatePassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Update or add password.

+

Throws a UpdatePasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +Future updatePassword({required String password}) async { + try { + await _firebaseAuth.currentUser!.updatePassword(password); + final jwt = await _firebaseAuth.currentUser!.getIdToken(true); + final account = AccountModel.fromFirebaseUser( + _firebaseAuth.currentUser, + accessToken: jwt, + ); + + return account; + } on FirebaseAuthException catch (e) { + throw UpdatePasswordFailureFirebase.fromCode(e.code); + } catch (_) { + throw UpdatePasswordFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md new file mode 100644 index 00000000..887564d5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl/verifyPasswordResetCode.md @@ -0,0 +1,48 @@ + + + +# verifyPasswordResetCode method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> verifyPasswordResetCode +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) + +_override_ + + + +

Verify password reset code.

+

Throws a VerifyPasswordResetCodeFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +Future verifyPasswordResetCode({required String code}) async { + try { + final email = await _firebaseAuth.verifyPasswordResetCode(code); + return email.isNotNullOrEmpty; + } on FirebaseAuthException catch (e) { + throw VerifyPasswordResetCodeFailureFirebase.fromCode(e.code); + } catch (_) { + throw VerifyPasswordResetCodeFailureFirebase(); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md new file mode 100644 index 00000000..29bfc2f7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md @@ -0,0 +1,247 @@ + + + +# AuthenticationRemoteDataSource<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Is responsible for abstracting the provenance of the data.

+ + + + + + +**Implementers** + +- [AuthenticationFirebaseDataSourceImpl](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md) + + + + + +## Constructors + +[AuthenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md) () + + + + +## Properties + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [addSession](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md)([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) void + + + + + + + + +##### [confirmPasswordReset](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + + + + + + +##### [delete](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [reauthenticate](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [refresh](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [sendEmailVerification](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + + + + + + +##### [sendPasswordResetEmail](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + + + + + + +##### [sessionStream](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md)() [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> + + + + + + + + +##### [signInAnonymously](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [signOut](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + + + + + + +##### [signUpWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [updatePassword](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + + + + + + +##### [verifyPasswordResetCode](../wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> + + + + + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md new file mode 100644 index 00000000..9552fade --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/AuthenticationRemoteDataSource.md @@ -0,0 +1,25 @@ + + + +# AuthenticationRemoteDataSource<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationRemoteDataSource<Data>() + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md new file mode 100644 index 00000000..f1567da2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/addSession.md @@ -0,0 +1,35 @@ + + + +# addSession method + + + + + *[](https://dart.dev/null-safety)* + + + + +void addSession +([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) + + + + + + + + +## Implementation + +```dart +void addSession(SessionWrapper wrapper); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md new file mode 100644 index 00000000..785714a8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/confirmPasswordReset.md @@ -0,0 +1,38 @@ + + + +# confirmPasswordReset method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> confirmPasswordReset +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) + + + + + + + + +## Implementation + +```dart +Future confirmPasswordReset({ + required String code, + required String newPassword, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md new file mode 100644 index 00000000..aad9ff7b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/delete.md @@ -0,0 +1,35 @@ + + + +# delete method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> delete +() + + + + + + + + +## Implementation + +```dart +Future delete(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md new file mode 100644 index 00000000..7f369a4c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/reauthenticate.md @@ -0,0 +1,35 @@ + + + +# reauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> reauthenticate +() + + + + + + + + +## Implementation + +```dart +Future reauthenticate(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md new file mode 100644 index 00000000..104a6bc0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/refresh.md @@ -0,0 +1,35 @@ + + + +# refresh method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> refresh +() + + + + + + + + +## Implementation + +```dart +Future refresh(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md new file mode 100644 index 00000000..8ee8fe82 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendEmailVerification.md @@ -0,0 +1,35 @@ + + + +# sendEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> sendEmailVerification +() + + + + + + + + +## Implementation + +```dart +Future sendEmailVerification(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md new file mode 100644 index 00000000..86a6aae2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sendPasswordResetEmail.md @@ -0,0 +1,35 @@ + + + +# sendPasswordResetEmail method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> sendPasswordResetEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + + + + + + + + +## Implementation + +```dart +Future sendPasswordResetEmail({required String email}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md new file mode 100644 index 00000000..9d8739aa --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/sessionStream.md @@ -0,0 +1,35 @@ + + + +# sessionStream method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> sessionStream +() + + + + + + + + +## Implementation + +```dart +Stream> sessionStream(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md new file mode 100644 index 00000000..ac7985b1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInAnonymously.md @@ -0,0 +1,35 @@ + + + +# signInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInAnonymously +() + + + + + + + + +## Implementation + +```dart +Future signInAnonymously(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md new file mode 100644 index 00000000..394754c5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithEmailAndPassword.md @@ -0,0 +1,38 @@ + + + +# signInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + + + + +## Implementation + +```dart +Future signInWithEmailAndPassword({ + required String email, + required String password, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md new file mode 100644 index 00000000..4713504f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signInWithGoogle.md @@ -0,0 +1,35 @@ + + + +# signInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithGoogle +() + + + + + + + + +## Implementation + +```dart +Future signInWithGoogle(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md new file mode 100644 index 00000000..f650758c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signOut.md @@ -0,0 +1,35 @@ + + + +# signOut method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> signOut +() + + + + + + + + +## Implementation + +```dart +Future signOut(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md new file mode 100644 index 00000000..6d55af4c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/signUpWithEmailAndPassword.md @@ -0,0 +1,38 @@ + + + +# signUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> signUpWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + + + + +## Implementation + +```dart +Future signUpWithEmailAndPassword({ + required String email, + required String password, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md new file mode 100644 index 00000000..07110bcb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updateEmail.md @@ -0,0 +1,35 @@ + + + +# updateEmail method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> updateEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + + + + + + + + +## Implementation + +```dart +Future updateEmail({required String email}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md new file mode 100644 index 00000000..043a101f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/updatePassword.md @@ -0,0 +1,35 @@ + + + +# updatePassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[Account](../../wyatt_authentication_bloc/Account-class.md)> updatePassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + + + + +## Implementation + +```dart +Future updatePassword({required String password}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md new file mode 100644 index 00000000..bee09e13 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRemoteDataSource/verifyPasswordResetCode.md @@ -0,0 +1,35 @@ + + + +# verifyPasswordResetCode method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> verifyPasswordResetCode +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) + + + + + + + + +## Implementation + +```dart +Future verifyPasswordResetCode({required String code}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository-class.md new file mode 100644 index 00000000..80cf4ff5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository-class.md @@ -0,0 +1,258 @@ + + + +# AuthenticationRepository<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + + + + +**Implementers** + +- [AuthenticationRepositoryImpl](../wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md) + + + + + +## Constructors + +[AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md) () + + + + +## Properties + +##### [formRepository](../wyatt_authentication_bloc/AuthenticationRepository/formRepository.md) → FormRepository + + + +Form repository used in different authentication cubits/blocs +_read-only_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [addSession](../wyatt_authentication_bloc/AuthenticationRepository/addSession.md)([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) void + + + +Add a new authentication event. + + + + +##### [confirmPasswordReset](../wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) FutureOrResult<void> + + + +Confirms the password reset with the provided newPassword and code. + + + + +##### [delete](../wyatt_authentication_bloc/AuthenticationRepository/delete.md)() FutureOrResult<void> + + + +Delete account. + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [reauthenticate](../wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in. + + + + +##### [refresh](../wyatt_authentication_bloc/AuthenticationRepository/refresh.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Refreshes the current user, if signed in. + + + + +##### [sendEmailVerification](../wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md)() FutureOrResult<void> + + + +Sends verification email to the account email. + + + + +##### [sendPasswordResetEmail](../wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) FutureOrResult<void> + + + +Sends a password reset email to the provided email. + + + + +##### [sessionStream](../wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md)() [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> + + + +Authentication state change event stream. + + + + +##### [signInAnonymously](../wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Sign in anonymously. + + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Signs in with the provided email and password. + + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Starts the Sign In with Google Flow. + + + + +##### [signOut](../wyatt_authentication_bloc/AuthenticationRepository/signOut.md)() FutureOrResult<void> + + + +Signs out the current user. +It also clears the cache and the associated data. + + + + +##### [signUpWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Creates a new user with the provided email and password. + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add email. + + + + +##### [updatePassword](../wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add password. + + + + +##### [verifyPasswordResetCode](../wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) FutureOrResult<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> + + + +Verify password reset code. + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md new file mode 100644 index 00000000..da6e6d1d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/AuthenticationRepository.md @@ -0,0 +1,25 @@ + + + +# AuthenticationRepository<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationRepository<Data>() + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/addSession.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/addSession.md new file mode 100644 index 00000000..dd5755bd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/addSession.md @@ -0,0 +1,36 @@ + + + +# addSession method + + + + + *[](https://dart.dev/null-safety)* + + + + +void addSession +([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) + + + + + +

Add a new authentication event.

+ + + +## Implementation + +```dart +void addSession(SessionWrapper wrapper); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md new file mode 100644 index 00000000..43531c88 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/confirmPasswordReset.md @@ -0,0 +1,40 @@ + + + +# confirmPasswordReset method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> confirmPasswordReset +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) + + + + + +

Confirms the password reset with the provided newPassword and code.

+

Throws a ConfirmPasswordResetFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult confirmPasswordReset({ + required String code, + required String newPassword, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/delete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/delete.md new file mode 100644 index 00000000..05b49493 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/delete.md @@ -0,0 +1,38 @@ + + + +# delete method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> delete +() + + + + + +

Delete account.

+

Throws a DeleteAccountFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult delete(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/formRepository.md new file mode 100644 index 00000000..0bded545 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/formRepository.md @@ -0,0 +1,37 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormRepository formRepository + + + + + +

Form repository used in different authentication cubits/blocs

+ + + +## Implementation + +```dart +FormRepository get formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md new file mode 100644 index 00000000..809974fe --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/reauthenticate.md @@ -0,0 +1,40 @@ + + + +# reauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> reauthenticate +() + + + + + +

Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in.

+

Throws a ReauthenticateFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult reauthenticate(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/refresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/refresh.md new file mode 100644 index 00000000..5f3413e3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/refresh.md @@ -0,0 +1,36 @@ + + + +# refresh method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> refresh +() + + + + + +

Refreshes the current user, if signed in.

+ + + +## Implementation + +```dart +FutureOrResult refresh(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md new file mode 100644 index 00000000..184e510c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendEmailVerification.md @@ -0,0 +1,37 @@ + + + +# sendEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> sendEmailVerification +() + + + + + +

Sends verification email to the account email.

+

Throws a SendEmailVerificationFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult sendEmailVerification(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md new file mode 100644 index 00000000..5778307e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sendPasswordResetEmail.md @@ -0,0 +1,37 @@ + + + +# sendPasswordResetEmail method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> sendPasswordResetEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + + + + + +

Sends a password reset email to the provided email.

+

Throws a SendPasswordResetEmailFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult sendPasswordResetEmail({required String email}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md new file mode 100644 index 00000000..d911cb8d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/sessionStream.md @@ -0,0 +1,36 @@ + + + +# sessionStream method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> sessionStream +() + + + + + +

Authentication state change event stream.

+ + + +## Implementation + +```dart +Stream> sessionStream(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md new file mode 100644 index 00000000..03d3f774 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInAnonymously.md @@ -0,0 +1,37 @@ + + + +# signInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInAnonymously +() + + + + + +

Sign in anonymously.

+

Throws a SignInAnonymouslyFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult signInAnonymously(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md new file mode 100644 index 00000000..5ae7989f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithEmailAndPassword.md @@ -0,0 +1,41 @@ + + + +# signInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + +

Signs in with the provided email and password.

+

Throws a SignInWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult signInWithEmailAndPassword({ + required String email, + required String password, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md new file mode 100644 index 00000000..18a8989b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signInWithGoogle.md @@ -0,0 +1,37 @@ + + + +# signInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithGoogle +() + + + + + +

Starts the Sign In with Google Flow.

+

Throws a SignInWithGoogleFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult signInWithGoogle(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signOut.md new file mode 100644 index 00000000..7dad6c4b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signOut.md @@ -0,0 +1,37 @@ + + + +# signOut method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<void> signOut +() + + + + + +

Signs out the current user. +It also clears the cache and the associated data.

+ + + +## Implementation + +```dart +FutureOrResult signOut(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md new file mode 100644 index 00000000..7a99a749 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/signUpWithEmailAndPassword.md @@ -0,0 +1,42 @@ + + + +# signUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signUpWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + +

Creates a new user with the provided email and password.

+

Returns the newly created user's unique identifier.

+

Throws a SignUpWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult signUpWithEmailAndPassword({ + required String email, + required String password, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md new file mode 100644 index 00000000..e324d7ad --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updateEmail.md @@ -0,0 +1,40 @@ + + + +# updateEmail method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> updateEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + + + + + +

Update or add email.

+

Throws a UpdateEmailFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult updateEmail({ + required String email, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md new file mode 100644 index 00000000..ac90a4a9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/updatePassword.md @@ -0,0 +1,40 @@ + + + +# updatePassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> updatePassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + + + + + +

Update or add password.

+

Throws a UpdatePasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult updatePassword({ + required String password, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md new file mode 100644 index 00000000..73463137 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepository/verifyPasswordResetCode.md @@ -0,0 +1,37 @@ + + + +# verifyPasswordResetCode method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> verifyPasswordResetCode +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) + + + + + +

Verify password reset code.

+

Throws a VerifyPasswordResetCodeFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOrResult verifyPasswordResetCode({required String code}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md new file mode 100644 index 00000000..5ec57c81 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md @@ -0,0 +1,269 @@ + + + +# AuthenticationRepositoryImpl<Data extends Object> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> +- AuthenticationRepositoryImpl + + + + + + + + +## Constructors + +[AuthenticationRepositoryImpl](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md) ({required [AuthenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> authenticationRemoteDataSource, FormRepository? formRepository, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, dynamic>>? extraSignUpInputs, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, dynamic>>? extraEditAccountInputs, FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>? customEmailValidator, FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>? customPasswordValidator}) + + + + +## Properties + +##### [authenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md) → [AuthenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> + + + + +_final_ + + + +##### [formRepository](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md) → FormRepository + + + +Form repository used in different authentication cubits/blocs +_read-onlyoverride_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [addSession](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md)([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) void + + + +Add a new authentication event. +_override_ + + + +##### [confirmPasswordReset](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) FutureOrResult<void> + + + +Confirms the password reset with the provided newPassword and code. +_override_ + + + +##### [delete](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md)() FutureOrResult<void> + + + +Delete account. +_override_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [reauthenticate](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in. +_override_ + + + +##### [refresh](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Refreshes the current user, if signed in. +_override_ + + + +##### [sendEmailVerification](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md)() FutureOrResult<void> + + + +Sends verification email to the account email. +_override_ + + + +##### [sendPasswordResetEmail](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) FutureOrResult<void> + + + +Sends a password reset email to the provided email. +_override_ + + + +##### [sessionStream](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md)() [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> + + + +Authentication state change event stream. +_override_ + + + +##### [signInAnonymously](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Sign in anonymously. +_override_ + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Signs in with the provided email and password. +_override_ + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md)() FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Starts the Sign In with Google Flow. +_override_ + + + +##### [signOut](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md)() FutureOrResult<void> + + + +Signs out the current user. +It also clears the cache and the associated data. +_override_ + + + +##### [signUpWithEmailAndPassword](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Creates a new user with the provided email and password. +_override_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add email. +_override_ + + + +##### [updatePassword](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) FutureOrResult<[Account](../wyatt_authentication_bloc/Account-class.md)> + + + +Update or add password. +_override_ + + + +##### [verifyPasswordResetCode](../wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md)({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) FutureOrResult<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> + + + +Verify password reset code. +_override_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md new file mode 100644 index 00000000..5fd00e8a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/AuthenticationRepositoryImpl.md @@ -0,0 +1,69 @@ + + + +# AuthenticationRepositoryImpl<Data extends Object> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +AuthenticationRepositoryImpl<Data extends Object>({required [AuthenticationRemoteDataSource](../../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> authenticationRemoteDataSource, FormRepository? formRepository, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, dynamic>>? extraSignUpInputs, [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, dynamic>>? extraEditAccountInputs, FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>? customEmailValidator, FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>? customPasswordValidator}) + + + + + +## Implementation + +```dart +AuthenticationRepositoryImpl({ + required this.authenticationRemoteDataSource, + FormRepository? formRepository, + // ignore: strict_raw_type + List? extraSignUpInputs, + // ignore: strict_raw_type + List? extraEditAccountInputs, + FormInputValidator? customEmailValidator, + FormInputValidator? customPasswordValidator, +}) { + _formRepository = formRepository ?? FormRepositoryImpl(); + + if (formRepository != null) { + return; + } + _formRepository + ..registerForm( + Forms.buildSignUpForm( + customEmailValidator, + customPasswordValidator, + extraSignUpInputs, + ), + ) + ..registerForm( + Forms.buildSignInForm( + customEmailValidator, + customPasswordValidator, + ), + ) + ..registerForm( + Forms.buildPasswordResetForm(customEmailValidator), + ) + ..registerForm( + Forms.buildEditAccountForm( + customEmailValidator, + customPasswordValidator, + extraEditAccountInputs, + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md new file mode 100644 index 00000000..24fac35a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/addSession.md @@ -0,0 +1,39 @@ + + + +# addSession method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +void addSession +([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> wrapper) + +_override_ + + + +

Add a new authentication event.

+ + + +## Implementation + +```dart +@override +void addSession(SessionWrapper wrapper) => + authenticationRemoteDataSource.addSession(wrapper); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md new file mode 100644 index 00000000..c5a64a53 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/authenticationRemoteDataSource.md @@ -0,0 +1,33 @@ + + + +# authenticationRemoteDataSource property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRemoteDataSource](../../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> authenticationRemoteDataSource + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRemoteDataSource authenticationRemoteDataSource; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md new file mode 100644 index 00000000..1d7641ae --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/confirmPasswordReset.md @@ -0,0 +1,51 @@ + + + +# confirmPasswordReset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<void> confirmPasswordReset +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword}) + +_override_ + + + +

Confirms the password reset with the provided newPassword and code.

+

Throws a ConfirmPasswordResetFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult confirmPasswordReset({ + required String code, + required String newPassword, +}) => + Result.tryCatchAsync( + () async { + await authenticationRemoteDataSource.confirmPasswordReset( + code: code, + newPassword: newPassword, + ); + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md new file mode 100644 index 00000000..2275ccde --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/delete.md @@ -0,0 +1,44 @@ + + + +# delete method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<void> delete +() + +_override_ + + + +

Delete account.

+

Throws a DeleteAccountFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult delete() => + Result.tryCatchAsync( + () async => authenticationRemoteDataSource.delete(), + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md new file mode 100644 index 00000000..d38908fe --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/formRepository.md @@ -0,0 +1,41 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +FormRepository formRepository + +_override_ + + + +

Form repository used in different authentication cubits/blocs

+ + + +## Implementation + +```dart +@override +FormRepository get formRepository => _formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md new file mode 100644 index 00000000..251168fb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/reauthenticate.md @@ -0,0 +1,49 @@ + + + +# reauthenticate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> reauthenticate +() + +_override_ + + + +

Some security-sensitive actions—such as deleting an account, +setting a primary email address, and changing a password—require that +the user has recently signed in.

+

Throws a ReauthenticateFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult reauthenticate() => + Result.tryCatchAsync( + () async { + final account = await authenticationRemoteDataSource.reauthenticate(); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md new file mode 100644 index 00000000..744850b4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/refresh.md @@ -0,0 +1,45 @@ + + + +# refresh method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> refresh +() + +_override_ + + + +

Refreshes the current user, if signed in.

+ + + +## Implementation + +```dart +@override +FutureOrResult refresh() => + Result.tryCatchAsync( + () async { + final account = await authenticationRemoteDataSource.refresh(); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md new file mode 100644 index 00000000..3b70fe5d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendEmailVerification.md @@ -0,0 +1,45 @@ + + + +# sendEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<void> sendEmailVerification +() + +_override_ + + + +

Sends verification email to the account email.

+

Throws a SendEmailVerificationFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult sendEmailVerification() => + Result.tryCatchAsync( + () async { + await authenticationRemoteDataSource.sendEmailVerification(); + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md new file mode 100644 index 00000000..df9cbe89 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sendPasswordResetEmail.md @@ -0,0 +1,47 @@ + + + +# sendPasswordResetEmail method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<void> sendPasswordResetEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + +_override_ + + + +

Sends a password reset email to the provided email.

+

Throws a SendPasswordResetEmailFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult sendPasswordResetEmail({required String email}) => + Result.tryCatchAsync( + () async { + await authenticationRemoteDataSource.sendPasswordResetEmail( + email: email, + ); + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md new file mode 100644 index 00000000..33cab460 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/sessionStream.md @@ -0,0 +1,39 @@ + + + +# sessionStream method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>> sessionStream +() + +_override_ + + + +

Authentication state change event stream.

+ + + +## Implementation + +```dart +@override +Stream> sessionStream() => + authenticationRemoteDataSource.sessionStream(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md new file mode 100644 index 00000000..8dfc8cea --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInAnonymously.md @@ -0,0 +1,47 @@ + + + +# signInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInAnonymously +() + +_override_ + + + +

Sign in anonymously.

+

Throws a SignInAnonymouslyFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult signInAnonymously() => + Result.tryCatchAsync( + () async { + final account = + await authenticationRemoteDataSource.signInAnonymously(); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md new file mode 100644 index 00000000..a42a7bab --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithEmailAndPassword.md @@ -0,0 +1,54 @@ + + + +# signInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Signs in with the provided email and password.

+

Throws a SignInWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult signInWithEmailAndPassword({ + required String email, + required String password, +}) => + Result.tryCatchAsync( + () async { + final account = + await authenticationRemoteDataSource.signInWithEmailAndPassword( + email: email, + password: password, + ); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md new file mode 100644 index 00000000..e6e5095d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signInWithGoogle.md @@ -0,0 +1,47 @@ + + + +# signInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signInWithGoogle +() + +_override_ + + + +

Starts the Sign In with Google Flow.

+

Throws a SignInWithGoogleFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult signInWithGoogle() => + Result.tryCatchAsync( + () async { + final account = + await authenticationRemoteDataSource.signInWithGoogle(); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md new file mode 100644 index 00000000..5b83c76a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signOut.md @@ -0,0 +1,45 @@ + + + +# signOut method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<void> signOut +() + +_override_ + + + +

Signs out the current user. +It also clears the cache and the associated data.

+ + + +## Implementation + +```dart +@override +FutureOrResult signOut() => + Result.tryCatchAsync( + () async { + await authenticationRemoteDataSource.signOut(); + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md new file mode 100644 index 00000000..5a0ce347 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/signUpWithEmailAndPassword.md @@ -0,0 +1,55 @@ + + + +# signUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> signUpWithEmailAndPassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Creates a new user with the provided email and password.

+

Returns the newly created user's unique identifier.

+

Throws a SignUpWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult signUpWithEmailAndPassword({ + required String email, + required String password, +}) => + Result.tryCatchAsync( + () async { + final account = + await authenticationRemoteDataSource.signUpWithEmailAndPassword( + email: email, + password: password, + ); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md new file mode 100644 index 00000000..89647f63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updateEmail.md @@ -0,0 +1,48 @@ + + + +# updateEmail method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> updateEmail +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) email}) + +_override_ + + + +

Update or add email.

+

Throws a UpdateEmailFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult updateEmail({required String email}) => + Result.tryCatchAsync( + () async { + final account = + await authenticationRemoteDataSource.updateEmail(email: email); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md new file mode 100644 index 00000000..3e839532 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/updatePassword.md @@ -0,0 +1,49 @@ + + + +# updatePassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[Account](../../wyatt_authentication_bloc/Account-class.md)> updatePassword +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) password}) + +_override_ + + + +

Update or add password.

+

Throws a UpdatePasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult updatePassword({required String password}) => + Result.tryCatchAsync( + () async { + final account = await authenticationRemoteDataSource.updatePassword( + password: password, + ); + return account; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md new file mode 100644 index 00000000..6a2eae13 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationRepositoryImpl/verifyPasswordResetCode.md @@ -0,0 +1,47 @@ + + + +# verifyPasswordResetCode method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)> verifyPasswordResetCode +({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code}) + +_override_ + + + +

Verify password reset code.

+

Throws a VerifyPasswordResetCodeFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +@override +FutureOrResult verifyPasswordResetCode({required String code}) => + Result.tryCatchAsync( + () async { + final response = await authenticationRemoteDataSource + .verifyPasswordResetCode(code: code); + return response; + }, + (error) => error, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState-class.md new file mode 100644 index 00000000..8b0c36ea --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState-class.md @@ -0,0 +1,150 @@ + + + +# AuthenticationState<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- AuthenticationState + + + + + + + + +## Constructors + +[AuthenticationState.authenticated](../wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md) ([SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper) + + _const_ + +[AuthenticationState.unauthenticated](../wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md) () + + _const_ + +[AuthenticationState.unknown](../wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md) () + + _const_ + + +## Properties + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/AuthenticationState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/AuthenticationState/status.md) → [AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md) + + + + +_final_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationState/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyoverride_ + + + +##### [wrapper](../wyatt_authentication_bloc/AuthenticationState/wrapper.md) → [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? + + + + +_final_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md new file mode 100644 index 00000000..d9f91abf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.authenticated.md @@ -0,0 +1,34 @@ + + + +# AuthenticationState<Data>.authenticated constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationState<Data>.authenticated([SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> sessionWrapper) + + + + + +## Implementation + +```dart +const AuthenticationState.authenticated(SessionWrapper sessionWrapper) + : this._( + AuthenticationStatus.authenticated, + sessionWrapper, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md new file mode 100644 index 00000000..e2bddab6 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unauthenticated.md @@ -0,0 +1,31 @@ + + + +# AuthenticationState<Data>.unauthenticated constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationState<Data>.unauthenticated() + + + + + +## Implementation + +```dart +const AuthenticationState.unauthenticated() + : this._(AuthenticationStatus.unauthenticated, null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md new file mode 100644 index 00000000..09ff10d9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/AuthenticationState.unknown.md @@ -0,0 +1,31 @@ + + + +# AuthenticationState<Data>.unknown constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationState<Data>.unknown() + + + + + +## Implementation + +```dart +const AuthenticationState.unknown() + : this._(AuthenticationStatus.unknown, null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/props.md new file mode 100644 index 00000000..908ab81c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [status, wrapper]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/status.md new file mode 100644 index 00000000..40efc5ec --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/status.md @@ -0,0 +1,33 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationStatus](../../wyatt_authentication_bloc/AuthenticationStatus.md) status + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/stringify.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/stringify.md new file mode 100644 index 00000000..d226dc33 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/stringify.md @@ -0,0 +1,47 @@ + + + +# stringify property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? stringify + +_override_ + + + +

If set to true, the toString method will be overridden to output +this instance's props.

+

A global default value for stringify can be set using +EquatableConfig.stringify.

+

If this instance's stringify is set to null, the value of +EquatableConfig.stringify will be used instead. This defaults to +false.

+ + + +## Implementation + +```dart +@override +bool? get stringify => true; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/wrapper.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/wrapper.md new file mode 100644 index 00000000..cab7f3c8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationState/wrapper.md @@ -0,0 +1,33 @@ + + + +# wrapper property + + + + + *[](https://dart.dev/null-safety)* + + + +[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? wrapper + +_final_ + + + + + + +## Implementation + +```dart +final SessionWrapper? wrapper; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus.md new file mode 100644 index 00000000..2e76c5aa --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus.md @@ -0,0 +1,151 @@ + + + +# AuthenticationStatus enum + + + + + *[](https://dart.dev/null-safety)* + + + +

Different authentication status

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Enum](https://api.flutter.dev/flutter/dart-core/Enum-class.html) +- AuthenticationStatus + + + + + + +## Constructors + +[AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md) () + + _const_ + + +## Values + +##### [unknown](../wyatt_authentication_bloc/AuthenticationStatus.md) const [AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md) + + + +

At the application launch.

+ + + + +##### [authenticated](../wyatt_authentication_bloc/AuthenticationStatus.md) const [AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md) + + + +

When the user is logged

+ + + + +##### [unauthenticated](../wyatt_authentication_bloc/AuthenticationStatus.md) const [AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md) + + + +

When the user is not logged

+ + + + + +## Properties + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [index](https://api.flutter.dev/flutter/dart-core/Enum/index.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +A numeric identifier for the enumerated value. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + +## Constants + +##### [values](../wyatt_authentication_bloc/AuthenticationStatus/values-constant.md) const [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md)> + + + +A constant List of the values in this enum, in order of their declaration. + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md new file mode 100644 index 00000000..be2e4631 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/AuthenticationStatus.md @@ -0,0 +1,25 @@ + + + +# AuthenticationStatus constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +AuthenticationStatus() + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/values-constant.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/values-constant.md new file mode 100644 index 00000000..9639a71a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/AuthenticationStatus/values-constant.md @@ -0,0 +1,29 @@ + + + +# values constant + + + + + *[](https://dart.dev/null-safety)* + + + +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[AuthenticationStatus](../../wyatt_authentication_bloc/AuthenticationStatus.md)> const values + + + + + +

A constant List of the values in this enum, in order of their declaration.

+ + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit-class.md new file mode 100644 index 00000000..a1d6b8f8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit-class.md @@ -0,0 +1,261 @@ + + + +# BaseEditAccountCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Abstract edit account cubit useful for implementing a cubit with fine +granularity by adding only the required mixins.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> +- BaseEditAccountCubit + + + +**Implementers** + +- [EditAccountCubit](../wyatt_authentication_bloc/EditAccountCubit-class.md) + + + + + +## Constructors + +[BaseEditAccountCubit](../wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_final_ + + + +##### [formName](../wyatt_authentication_bloc/BaseEditAccountCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-only_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md) → FormRepository + + + + +_read-only_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseEditAccountCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [submit](../wyatt_authentication_bloc/BaseEditAccountCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseEditAccountCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [validate](../wyatt_authentication_bloc/BaseEditAccountCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md new file mode 100644 index 00000000..8f85be67 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/BaseEditAccountCubit.md @@ -0,0 +1,37 @@ + + + +# BaseEditAccountCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +BaseEditAccountCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +BaseEditAccountCubit({ + required this.authenticationRepository, +}) : super( + EditAccountState( + form: authenticationRepository.formRepository + .accessForm(AuthFormName.signInForm), + ), + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md new file mode 100644 index 00000000..32cdfa2a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md new file mode 100644 index 00000000..1748061e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md @@ -0,0 +1,53 @@ + + + +# dataChanged<Value> method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> dataChanged +<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) + + + + + + + + +## Implementation + +```dart +@override +FutureOr dataChanged( + String key, + FormInputValidator dirtyValue, +) { + final form = formRepository.accessForm(formName).clone(); + + try { + form.updateValidator(key, dirtyValue); + formRepository.updateForm(form); + } catch (e) { + rethrow; + } + + emit( + EditAccountState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formName.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formName.md new file mode 100644 index 00000000..3196e650 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formName.md @@ -0,0 +1,40 @@ + + + +# formName property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) formName + + + + + + + + +## Implementation + +```dart +@override +String get formName => AuthFormName.signInForm; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md new file mode 100644 index 00000000..db8665dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md @@ -0,0 +1,36 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormRepository formRepository + + + + + + + + +## Implementation + +```dart +FormRepository get formRepository => authenticationRepository.formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/reset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/reset.md new file mode 100644 index 00000000..5344b5c4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/reset.md @@ -0,0 +1,43 @@ + + + +# reset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> reset +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr reset() { + final form = state.form.reset(); + formRepository.updateForm(form); + emit( + EditAccountState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/submit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/submit.md new file mode 100644 index 00000000..4ae4a062 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/submit.md @@ -0,0 +1,48 @@ + + + +# submit method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> submit +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr submit() async { + final WyattForm form = formRepository.accessForm(formName); + const error = '`submit()` is not implemented for BaseEditAccountCubit, ' + 'please use `updateEmail()` or `updatePassword()`.'; + emit( + EditAccountState( + form: form, + errorMessage: error, + status: FormStatus.submissionFailure, + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/update.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/update.md new file mode 100644 index 00000000..f0bb65a1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/update.md @@ -0,0 +1,48 @@ + + + +# update method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> update +(WyattForm form, {SetOperation operation = SetOperation.replace}) + + + + + + + + +## Implementation + +```dart +@override +FutureOr update( + WyattForm form, { + SetOperation operation = SetOperation.replace, +}) { + final WyattForm current = formRepository.accessForm(formName).clone(); + final WyattForm newForm = operation.operation.call(current, form); + formRepository.updateForm(newForm); + + emit( + EditAccountState(form: newForm, status: newForm.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/validate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/validate.md new file mode 100644 index 00000000..73e17324 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseEditAccountCubit/validate.md @@ -0,0 +1,42 @@ + + + +# validate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> validate +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr validate() { + final WyattForm form = formRepository.accessForm(formName); + emit( + EditAccountState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit-class.md new file mode 100644 index 00000000..d56382ff --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit-class.md @@ -0,0 +1,261 @@ + + + +# BaseSignInCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Abstract sign in cubit useful for implementing a cubit with fine +granularity by adding only the required mixins.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> +- BaseSignInCubit + + + +**Implementers** + +- [SignInCubit](../wyatt_authentication_bloc/SignInCubit-class.md) + + + + + +## Constructors + +[BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_final_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignInCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-only_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignInCubit/formRepository.md) → FormRepository + + + + +_read-only_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignInState](../wyatt_authentication_bloc/SignInState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseSignInCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignInCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignInCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [validate](../wyatt_authentication_bloc/BaseSignInCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md new file mode 100644 index 00000000..11cb730f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/BaseSignInCubit.md @@ -0,0 +1,37 @@ + + + +# BaseSignInCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +BaseSignInCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +BaseSignInCubit({ + required this.authenticationRepository, +}) : super( + SignInState( + form: authenticationRepository.formRepository + .accessForm(AuthFormName.signInForm), + ), + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md new file mode 100644 index 00000000..32cdfa2a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md new file mode 100644 index 00000000..2c85a80b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md @@ -0,0 +1,53 @@ + + + +# dataChanged<Value> method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> dataChanged +<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) + + + + + + + + +## Implementation + +```dart +@override +FutureOr dataChanged( + String key, + FormInputValidator dirtyValue, +) { + final form = formRepository.accessForm(formName).clone(); + + try { + form.updateValidator(key, dirtyValue); + formRepository.updateForm(form); + } catch (e) { + rethrow; + } + + emit( + SignInState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formName.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formName.md new file mode 100644 index 00000000..3196e650 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formName.md @@ -0,0 +1,40 @@ + + + +# formName property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) formName + + + + + + + + +## Implementation + +```dart +@override +String get formName => AuthFormName.signInForm; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formRepository.md new file mode 100644 index 00000000..db8665dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/formRepository.md @@ -0,0 +1,36 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormRepository formRepository + + + + + + + + +## Implementation + +```dart +FormRepository get formRepository => authenticationRepository.formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/reset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/reset.md new file mode 100644 index 00000000..5d78a829 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/reset.md @@ -0,0 +1,43 @@ + + + +# reset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> reset +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr reset() { + final form = state.form.reset(); + formRepository.updateForm(form); + emit( + SignInState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/submit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/submit.md new file mode 100644 index 00000000..69de04c2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/submit.md @@ -0,0 +1,48 @@ + + + +# submit method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> submit +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr submit() async { + final WyattForm form = formRepository.accessForm(formName); + const error = '`submit()` is not implemented for BaseSignInCubit, ' + 'please use `signUpWithEmailAndPassword()`.'; + emit( + SignInState( + form: form, + errorMessage: error, + status: FormStatus.submissionFailure, + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/update.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/update.md new file mode 100644 index 00000000..d37c336c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/update.md @@ -0,0 +1,48 @@ + + + +# update method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> update +(WyattForm form, {SetOperation operation = SetOperation.replace}) + + + + + + + + +## Implementation + +```dart +@override +FutureOr update( + WyattForm form, { + SetOperation operation = SetOperation.replace, +}) { + final WyattForm current = formRepository.accessForm(formName).clone(); + final WyattForm newForm = operation.operation.call(current, form); + formRepository.updateForm(newForm); + + emit( + SignInState(form: newForm, status: newForm.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/validate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/validate.md new file mode 100644 index 00000000..8dbc20d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignInCubit/validate.md @@ -0,0 +1,42 @@ + + + +# validate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> validate +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr validate() { + final WyattForm form = formRepository.accessForm(formName); + emit( + SignInState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit-class.md new file mode 100644 index 00000000..4bf08947 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit-class.md @@ -0,0 +1,261 @@ + + + +# BaseSignUpCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Abstract sign up cubit useful for implementing a cubit with fine +granularity by adding only the required mixins.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> +- BaseSignUpCubit + + + +**Implementers** + +- [SignUpCubit](../wyatt_authentication_bloc/SignUpCubit-class.md) + + + + + +## Constructors + +[BaseSignUpCubit](../wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_final_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignUpCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-only_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md) → FormRepository + + + + +_read-only_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseSignUpCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignUpCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignUpCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [validate](../wyatt_authentication_bloc/BaseSignUpCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md new file mode 100644 index 00000000..00958987 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/BaseSignUpCubit.md @@ -0,0 +1,37 @@ + + + +# BaseSignUpCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +BaseSignUpCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +BaseSignUpCubit({ + required this.authenticationRepository, +}) : super( + SignUpState( + form: authenticationRepository.formRepository + .accessForm(AuthFormName.signUpForm), + ), + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md new file mode 100644 index 00000000..32cdfa2a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md new file mode 100644 index 00000000..8583e9da --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md @@ -0,0 +1,53 @@ + + + +# dataChanged<Value> method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> dataChanged +<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) + + + + + + + + +## Implementation + +```dart +@override +FutureOr dataChanged( + String key, + FormInputValidator dirtyValue, +) { + final form = formRepository.accessForm(formName).clone(); + + try { + form.updateValidator(key, dirtyValue); + formRepository.updateForm(form); + } catch (e) { + rethrow; + } + + emit( + SignUpState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formName.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formName.md new file mode 100644 index 00000000..f79689dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formName.md @@ -0,0 +1,40 @@ + + + +# formName property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) formName + + + + + + + + +## Implementation + +```dart +@override +String get formName => AuthFormName.signUpForm; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md new file mode 100644 index 00000000..db8665dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md @@ -0,0 +1,36 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormRepository formRepository + + + + + + + + +## Implementation + +```dart +FormRepository get formRepository => authenticationRepository.formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/reset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/reset.md new file mode 100644 index 00000000..621867ee --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/reset.md @@ -0,0 +1,43 @@ + + + +# reset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> reset +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr reset() { + final form = state.form.reset(); + formRepository.updateForm(form); + emit( + SignUpState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/submit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/submit.md new file mode 100644 index 00000000..b9699be7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/submit.md @@ -0,0 +1,49 @@ + + + +# submit method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> submit +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr submit() async { + final WyattForm form = formRepository.accessForm(formName); + const error = '`submit()` is not implemented for BaseSignUpCubit, ' + 'please use `signUpWithEmailAndPassword()`.'; + emit( + SignUpState( + form: form, + errorMessage: error, + status: FormStatus.submissionFailure, + ), + ); + throw UnimplementedError(error); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/update.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/update.md new file mode 100644 index 00000000..9cd644a4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/update.md @@ -0,0 +1,51 @@ + + + +# update method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> update +(WyattForm form, {SetOperation operation = SetOperation.replace}) + + + + + + + + +## Implementation + +```dart +@override +FutureOr update( + WyattForm form, { + SetOperation operation = SetOperation.replace, +}) { + final WyattForm current = formRepository.accessForm(formName).clone(); + final WyattForm newForm = operation.operation.call(current, form); + formRepository.updateForm(newForm); + + emit( + SignUpState( + form: newForm, + status: newForm.validate(), + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/validate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/validate.md new file mode 100644 index 00000000..1eeceb04 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BaseSignUpCubit/validate.md @@ -0,0 +1,42 @@ + + + +# validate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> validate +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr validate() { + final WyattForm form = formRepository.accessForm(formName); + emit( + SignUpState(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension.md new file mode 100644 index 00000000..6ee49aa0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension.md @@ -0,0 +1,76 @@ + + + +# BuildContextExtension extension +on [BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) + + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Extension that helps to quickly access useful resources like wrapper, +session, account or data.

+ + + + + + +## Methods + +##### [account](../wyatt_authentication_bloc/BuildContextExtension/account.md)<T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)<Data>, Data>() [Account](../wyatt_authentication_bloc/Account-class.md)? + + + +Returns account + + + + +##### [data](../wyatt_authentication_bloc/BuildContextExtension/data.md)<T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)<Data>, Data>() Data? + + + +Returns associated data + + + + +##### [session](../wyatt_authentication_bloc/BuildContextExtension/session.md)<T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)<Data>, Data>() [Session](../wyatt_authentication_bloc/Session-class.md)<Data>? + + + +Returns session + + + + +##### [wrapper](../wyatt_authentication_bloc/BuildContextExtension/wrapper.md)<T extends [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)<Data>, Data>() [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? + + + +Returns session wrapper + + + + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/account.md new file mode 100644 index 00000000..d0f51a1f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/account.md @@ -0,0 +1,37 @@ + + + +# account<T extends AuthenticationCubit<Data>, Data> method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Account](../../wyatt_authentication_bloc/Account-class.md)? account +<T extends AuthenticationCubit<Data>, Data>() + + + + + +

Returns account

+ + + +## Implementation + +```dart +Account? account, Data>() => + watch().currentSession()?.session?.account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/data.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/data.md new file mode 100644 index 00000000..1958e209 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/data.md @@ -0,0 +1,37 @@ + + + +# data<T extends AuthenticationCubit<Data>, Data> method + + + + + *[](https://dart.dev/null-safety)* + + + + +Data? data +<T extends AuthenticationCubit<Data>, Data>() + + + + + +

Returns associated data

+ + + +## Implementation + +```dart +Data? data, Data>() => + watch().currentSession()?.session?.data; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/session.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/session.md new file mode 100644 index 00000000..2d5d16b1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/session.md @@ -0,0 +1,37 @@ + + + +# session<T extends AuthenticationCubit<Data>, Data> method + + + + + *[](https://dart.dev/null-safety)* + + + + +[Session](../../wyatt_authentication_bloc/Session-class.md)<Data>? session +<T extends AuthenticationCubit<Data>, Data>() + + + + + +

Returns session

+ + + +## Implementation + +```dart +Session? session, Data>() => + watch().currentSession()?.session; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/wrapper.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/wrapper.md new file mode 100644 index 00000000..edeb2c9e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/BuildContextExtension/wrapper.md @@ -0,0 +1,37 @@ + + + +# wrapper<T extends AuthenticationCubit<Data>, Data> method + + + + + *[](https://dart.dev/null-safety)* + + + + +[SessionWrapper](../../wyatt_authentication_bloc/SessionWrapper-class.md)<Data>? wrapper +<T extends AuthenticationCubit<Data>, Data>() + + + + + +

Returns session wrapper

+ + + +## Implementation + +```dart +SessionWrapper? wrapper, Data>() => + watch().currentSession(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md new file mode 100644 index 00000000..a9608f3c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# ConfirmPasswordResetFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [ConfirmPasswordResetFailureInterface](../wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md) +- ConfirmPasswordResetFailureFirebase + + + + + + + + +## Constructors + +[ConfirmPasswordResetFailureFirebase](../wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[ConfirmPasswordResetFailureFirebase.fromCode](../wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md new file mode 100644 index 00000000..4d51aa2d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# ConfirmPasswordResetFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ConfirmPasswordResetFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ConfirmPasswordResetFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md new file mode 100644 index 00000000..97e8c31a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase/ConfirmPasswordResetFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# ConfirmPasswordResetFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ConfirmPasswordResetFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +ConfirmPasswordResetFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md new file mode 100644 index 00000000..29578d9c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# ConfirmPasswordResetFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- ConfirmPasswordResetFailureInterface + + + +**Implementers** + +- [ConfirmPasswordResetFailureFirebase](../wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md) + + + + + +## Constructors + +[ConfirmPasswordResetFailureInterface](../wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the password reset process if a failure occurs. + +[ConfirmPasswordResetFailureInterface.fromCode](../wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the password reset process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md new file mode 100644 index 00000000..c0177f60 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# ConfirmPasswordResetFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ConfirmPasswordResetFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +ConfirmPasswordResetFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md new file mode 100644 index 00000000..585e23fc --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface/ConfirmPasswordResetFailureInterface.md @@ -0,0 +1,31 @@ + + + +# ConfirmPasswordResetFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ConfirmPasswordResetFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +ConfirmPasswordResetFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine-class.md new file mode 100644 index 00000000..8d140161 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine-class.md @@ -0,0 +1,139 @@ + + + +# CustomRoutine<R, Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Calls on each cubit action of this package.

+

Useful to register custom logic on pre-implemented logic.

+ + + + +## Constructors + +[CustomRoutine](../wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md) ({required [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<R, AppException>> routine(), required [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<Data?, AppException>> attachedLogic(Result<R, AppException> routineResult), required void onError(AppException exception), required void onSuccess(R result, Data? data)}) + + _const_ + + +## Properties + +##### [attachedLogic](../wyatt_authentication_bloc/CustomRoutine/attachedLogic.md) → [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<Data?, AppException>> Function(Result<R, AppException> routineResult) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [onError](../wyatt_authentication_bloc/CustomRoutine/onError.md) → void Function(AppException exception) + + + + +_final_ + + + +##### [onSuccess](../wyatt_authentication_bloc/CustomRoutine/onSuccess.md) → void Function(R result, Data? data) + + + + +_final_ + + + +##### [routine](../wyatt_authentication_bloc/CustomRoutine/routine.md) → [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<R, AppException>> Function() + + + + +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [call](../wyatt_authentication_bloc/CustomRoutine/call.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md new file mode 100644 index 00000000..4e771554 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/CustomRoutine.md @@ -0,0 +1,35 @@ + + + +# CustomRoutine<R, Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +CustomRoutine<R, Data>({required [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<R, AppException>> routine(), required [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<Data?, AppException>> attachedLogic(Result<R, AppException> routineResult), required void onError(AppException exception), required void onSuccess(R result, Data? data)}) + + + + + +## Implementation + +```dart +const CustomRoutine({ + required this.routine, + required this.attachedLogic, + required this.onError, + required this.onSuccess, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/attachedLogic.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/attachedLogic.md new file mode 100644 index 00000000..0486eb86 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/attachedLogic.md @@ -0,0 +1,35 @@ + + + +# attachedLogic property + + + + + *[](https://dart.dev/null-safety)* + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<Data?, AppException>> Function(Result<R, AppException> routineResult) attachedLogic + +_final_ + + + + + + +## Implementation + +```dart +final FutureOr> Function( + Result routineResult, +) attachedLogic; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/call.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/call.md new file mode 100644 index 00000000..a03b3b8b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/call.md @@ -0,0 +1,55 @@ + + + +# call method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> call +() + + + + + + + + +## Implementation + +```dart +FutureOr call() async { + final result = await routine.call(); + + // Call custom logic + final customRoutineResult = await attachedLogic.call(result); + + // Check for errors + if (result.isErr) { + onError.call(result.err!); + + return; + } + if (customRoutineResult.isErr) { + onError.call(customRoutineResult.err!); + + return; + } + + // If no error + return onSuccess.call(result.ok as R, customRoutineResult.ok); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onError.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onError.md new file mode 100644 index 00000000..540b3834 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onError.md @@ -0,0 +1,33 @@ + + + +# onError property + + + + + *[](https://dart.dev/null-safety)* + + + +void Function(AppException exception) onError + +_final_ + + + + + + +## Implementation + +```dart +final void Function(AppException exception) onError; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onSuccess.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onSuccess.md new file mode 100644 index 00000000..0232c8c7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/onSuccess.md @@ -0,0 +1,33 @@ + + + +# onSuccess property + + + + + *[](https://dart.dev/null-safety)* + + + +void Function(R result, Data? data) onSuccess + +_final_ + + + + + + +## Implementation + +```dart +final void Function(R result, Data? data) onSuccess; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/routine.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/routine.md new file mode 100644 index 00000000..9359edea --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/CustomRoutine/routine.md @@ -0,0 +1,33 @@ + + + +# routine property + + + + + *[](https://dart.dev/null-safety)* + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<Result<R, AppException>> Function() routine + +_final_ + + + + + + +## Implementation + +```dart +final FutureOr> Function() routine; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md new file mode 100644 index 00000000..b7283c93 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# DeleteAccountFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the account deletion if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [DeleteAccountFailureInterface](../wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md) +- DeleteAccountFailureFirebase + + + + + + + + +## Constructors + +[DeleteAccountFailureFirebase](../wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[DeleteAccountFailureFirebase.fromCode](../wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md new file mode 100644 index 00000000..8c43e144 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.fromCode.md @@ -0,0 +1,39 @@ + + + +# DeleteAccountFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +DeleteAccountFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +DeleteAccountFailureFirebase.fromCode(String code) : super.fromCode(code) { + switch (code) { + case 'requires-recent-login': + msg = "User's last sign-in time does not meet the security threshold."; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md new file mode 100644 index 00000000..e9be7130 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureFirebase/DeleteAccountFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# DeleteAccountFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +DeleteAccountFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +DeleteAccountFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md new file mode 100644 index 00000000..78a6a6f7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# DeleteAccountFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the account deletion if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- DeleteAccountFailureInterface + + + +**Implementers** + +- [DeleteAccountFailureFirebase](../wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md) + + + + + +## Constructors + +[DeleteAccountFailureInterface](../wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[DeleteAccountFailureInterface.fromCode](../wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md new file mode 100644 index 00000000..7e18dc37 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.fromCode.md @@ -0,0 +1,30 @@ + + + +# DeleteAccountFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +DeleteAccountFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +DeleteAccountFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md new file mode 100644 index 00000000..09759d9d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeleteAccountFailureInterface/DeleteAccountFailureInterface.md @@ -0,0 +1,30 @@ + + + +# DeleteAccountFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +DeleteAccountFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +DeleteAccountFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent-class.md new file mode 100644 index 00000000..9ada8b22 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent-class.md @@ -0,0 +1,126 @@ + + + +# DeletedEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user deleted his account.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- DeletedEvent + + + + + + + + +## Constructors + +[DeletedEvent](../wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md) () + + _const_ + + +## Properties + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/AuthenticationChangeEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md new file mode 100644 index 00000000..3d031272 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/DeletedEvent/DeletedEvent.md @@ -0,0 +1,30 @@ + + + +# DeletedEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +DeletedEvent() + + + + + +## Implementation + +```dart +const DeletedEvent(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit-class.md new file mode 100644 index 00000000..34e20299 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit-class.md @@ -0,0 +1,335 @@ + + + +# EditAccountCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Fully featured edit account cubit.

+

Sufficient in most cases. (Where fine granularity is not required.)

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> +- [BaseEditAccountCubit](../wyatt_authentication_bloc/BaseEditAccountCubit-class.md)<Data> +- EditAccountCubit + + +**Mixed in types** + +- [UpdateEmail](../wyatt_authentication_bloc/UpdateEmail-mixin.md)<Data> +- [UpdatePassword](../wyatt_authentication_bloc/UpdatePassword-mixin.md)<Data> + + + + + + +## Constructors + +[EditAccountCubit](../wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseEditAccountCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/UpdateEmail/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onEmailUpdated](../wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when user updates his email +_override_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onPasswordUpdated](../wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user edits his password. +_override_ + + + +##### [passwordChanged](../wyatt_authentication_bloc/UpdatePassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseEditAccountCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [submit](../wyatt_authentication_bloc/BaseEditAccountCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseEditAccountCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/UpdateEmail/updateEmail.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Update or add email. +_inherited_ + + + +##### [updatePassword](../wyatt_authentication_bloc/UpdatePassword/updatePassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Update or add password. +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseEditAccountCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md new file mode 100644 index 00000000..801c095c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/EditAccountCubit.md @@ -0,0 +1,30 @@ + + + +# EditAccountCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +EditAccountCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +EditAccountCubit({required super.authenticationRepository}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md new file mode 100644 index 00000000..bc18c4b1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onEmailUpdated.md @@ -0,0 +1,42 @@ + + + +# onEmailUpdated method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onEmailUpdated +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when user updates his email

+ + + +## Implementation + +```dart +@override +FutureOrResult onEmailUpdated( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md new file mode 100644 index 00000000..c506f486 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountCubit/onPasswordUpdated.md @@ -0,0 +1,42 @@ + + + +# onPasswordUpdated method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onPasswordUpdated +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when a user edits his password.

+ + + +## Implementation + +```dart +@override +FutureOrResult onPasswordUpdated( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener-class.md new file mode 100644 index 00000000..a6da474c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener-class.md @@ -0,0 +1,236 @@ + + + +# EditAccountListener<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Widget that listens and builds a child based on the state of +the edit account cubit

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) +- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) +- [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) +- EditAccountListener + + + + + + + + +## Constructors + +[EditAccountListener](../wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md) ({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + _const_ + + +## Properties + +##### [child](../wyatt_authentication_bloc/EditAccountListener/child.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + + +_final_ + + + +##### [customBuilder](../wyatt_authentication_bloc/EditAccountListener/customBuilder.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state)?) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) → [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? + + + +Controls how one widget replaces another widget in the tree. +_finalinherited_ + + + +##### [onError](../wyatt_authentication_bloc/EditAccountListener/onError.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) + + + + +_final_ + + + +##### [onProgress](../wyatt_authentication_bloc/EditAccountListener/onProgress.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [onSuccess](../wyatt_authentication_bloc/EditAccountListener/onSuccess.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [build](../wyatt_authentication_bloc/EditAccountListener/build.md)([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + +Describes the part of the user interface represented by this widget. +_override_ + + + +##### [createElement](https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html)() [StatelessElement](https://api.flutter.dev/flutter/widgets/StatelessElement-class.html) + + + +Creates a StatelessElement to manage this widget's location in the tree. +_inherited_ + + + +##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)> + + + +Returns a list of DiagnosticsNode objects describing this node's +children. +_inherited_ + + + +##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void + + + +Add additional properties associated with the node. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html)? style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html) + + + +Returns a debug representation of the object that is used by debugging +tools and by DiagnosticsNode.toStringDeep. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a string representation of this node and its descendants. +_inherited_ + + + +##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a one-line detailed description of the object. +_inherited_ + + + +##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A short, textual description of this widget. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md new file mode 100644 index 00000000..ec51cd1d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/EditAccountListener.md @@ -0,0 +1,37 @@ + + + +# EditAccountListener<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +EditAccountListener<Data>({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EditAccountState](../../wyatt_authentication_bloc/EditAccountState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + + + + +## Implementation + +```dart +const EditAccountListener({ + required this.child, + this.onProgress, + this.onSuccess, + this.onError, + this.customBuilder, + super.key, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/build.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/build.md new file mode 100644 index 00000000..03d55600 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/build.md @@ -0,0 +1,92 @@ + + + +# build method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) build +([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + +_override_ + + + +

Describes the part of the user interface represented by this widget.

+

The framework calls this method when this widget is inserted into the tree +in a given BuildContext and when the dependencies of this widget change +(e.g., an InheritedWidget referenced by this widget changes). This +method can potentially be called in every frame and should not have any side +effects beyond building a widget.

+

The framework replaces the subtree below this widget with the widget +returned by this method, either by updating the existing subtree or by +removing the subtree and inflating a new subtree, depending on whether the +widget returned by this method can update the root of the existing +subtree, as determined by calling Widget.canUpdate.

+

Typically implementations return a newly created constellation of widgets +that are configured with information from this widget's constructor and +from the given BuildContext.

+

The given BuildContext contains information about the location in the +tree at which this widget is being built. For example, the context +provides the set of inherited widgets for this location in the tree. A +given widget might be built with multiple different BuildContext +arguments over time if the widget is moved around the tree or if the +widget is inserted into the tree in multiple places at once.

+

The implementation of this method must only depend on:

+ +

If a widget's build method is to depend on anything else, use a +StatefulWidget instead.

+

See also:

+
    +
  • StatelessWidget, which contains the discussion on performance considerations.
  • +
+ + + +## Implementation + +```dart +@override +Widget build(BuildContext context) => + BlocListener, EditAccountState>( + listener: (context, state) { + if (customBuilder != null) { + return customBuilder!(context, state); + } + + if (onSuccess != null && + state.status == FormStatus.submissionSuccess) { + return onSuccess!(context); + } + if (onProgress != null && + state.status == FormStatus.submissionInProgress) { + return onProgress!(context); + } + if (onError != null && + (state.status == FormStatus.submissionCanceled || + state.status == FormStatus.submissionFailure)) { + return onError!(context, state.status, state.errorMessage); + } + }, + child: child, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/child.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/child.md new file mode 100644 index 00000000..53bc3682 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/child.md @@ -0,0 +1,33 @@ + + + +# child property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child + +_final_ + + + + + + +## Implementation + +```dart +final Widget child; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/customBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/customBuilder.md new file mode 100644 index 00000000..a8d52a8d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/customBuilder.md @@ -0,0 +1,34 @@ + + + +# customBuilder property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EditAccountState](../../wyatt_authentication_bloc/EditAccountState-class.md) state)?) customBuilder + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context, EditAccountState state)? + customBuilder; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onError.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onError.md new file mode 100644 index 00000000..ed94a98f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onError.md @@ -0,0 +1,37 @@ + + + +# onError property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) onError + +_final_ + + + + + + +## Implementation + +```dart +final void Function( + BuildContext context, + FormStatus status, + String? errorMessage, +)? onError; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onProgress.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onProgress.md new file mode 100644 index 00000000..4a30ed71 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onProgress.md @@ -0,0 +1,33 @@ + + + +# onProgress property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onProgress + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onProgress; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onSuccess.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onSuccess.md new file mode 100644 index 00000000..4d942f63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountListener/onSuccess.md @@ -0,0 +1,33 @@ + + + +# onSuccess property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onSuccess + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onSuccess; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState-class.md new file mode 100644 index 00000000..9c7250d8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState-class.md @@ -0,0 +1,179 @@ + + + +# EditAccountState class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Edit account cubit state to manage the form.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- EditAccountState + + + + + + + + +## Constructors + +[EditAccountState](../wyatt_authentication_bloc/EditAccountState/EditAccountState.md) ({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + _const_ + + +## Properties + +##### [email](../wyatt_authentication_bloc/EditAccountState/email.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [errorMessage](../wyatt_authentication_bloc/EditAccountState/errorMessage.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Optional error message. +_finalinherited_ + + + +##### [form](../wyatt_authentication_bloc/EditAccountState/form.md) → WyattForm + + + +FormData with all inputs, and associated metadata. +_finalinherited_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [password](../wyatt_authentication_bloc/EditAccountState/password.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [props](../wyatt_authentication_bloc/EditAccountState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-only_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/EditAccountState/status.md) → FormStatus + + + +Global status of a form. +_finalinherited_ + + + +##### [stringify](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/stringify.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [copyWith](../wyatt_authentication_bloc/EditAccountState/copyWith.md)({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/EditAccountState/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_override_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/EditAccountState.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/EditAccountState.md new file mode 100644 index 00000000..b8145411 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/EditAccountState.md @@ -0,0 +1,34 @@ + + + +# EditAccountState constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +EditAccountState({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + +## Implementation + +```dart +const EditAccountState({ + required super.form, + super.status = FormStatus.pure, + super.errorMessage, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/copyWith.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/copyWith.md new file mode 100644 index 00000000..aed8958b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/copyWith.md @@ -0,0 +1,44 @@ + + + +# copyWith method + + + + + *[](https://dart.dev/null-safety)* + + + + +[EditAccountState](../../wyatt_authentication_bloc/EditAccountState-class.md) copyWith +({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + + + + +## Implementation + +```dart +EditAccountState copyWith({ + WyattForm? form, + FormStatus? status, + String? errorMessage, +}) => + EditAccountState( + form: form ?? this.form, + status: status ?? this.status, + errorMessage: errorMessage ?? this.errorMessage, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/email.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/email.md new file mode 100644 index 00000000..1ded8043 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/email.md @@ -0,0 +1,37 @@ + + + +# email property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> email + + + + + + + + +## Implementation + +```dart +FormInputValidator get email => + form.validatorOf(AuthFormField.email); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/errorMessage.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/errorMessage.md new file mode 100644 index 00000000..d0856deb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/errorMessage.md @@ -0,0 +1,34 @@ + + + +# errorMessage property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage + +_finalinherited_ + + + +

Optional error message.

+ + + +## Implementation + +```dart +final String? errorMessage; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/form.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/form.md new file mode 100644 index 00000000..d3f2da76 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/form.md @@ -0,0 +1,34 @@ + + + +# form property + + + + + *[](https://dart.dev/null-safety)* + + + +WyattForm form + +_finalinherited_ + + + +

FormData with all inputs, and associated metadata.

+ + + +## Implementation + +```dart +final WyattForm form; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/password.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/password.md new file mode 100644 index 00000000..77938106 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/password.md @@ -0,0 +1,37 @@ + + + +# password property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> password + + + + + + + + +## Implementation + +```dart +FormInputValidator get password => + form.validatorOf(AuthFormField.password); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/props.md new file mode 100644 index 00000000..eab8d26c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> props + + + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [email, password, status]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/status.md new file mode 100644 index 00000000..644a9f10 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/status.md @@ -0,0 +1,34 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +FormStatus status + +_finalinherited_ + + + +

Global status of a form.

+ + + +## Implementation + +```dart +final FormStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/toString.md new file mode 100644 index 00000000..3a837f4e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EditAccountState/toString.md @@ -0,0 +1,48 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_override_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +String toString() => 'EditAccountState(status: ${status.name} ' + '${(errorMessage != null) ? " [$errorMessage]" : ""}, $form)'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder-class.md new file mode 100644 index 00000000..5692d1ab --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder-class.md @@ -0,0 +1,225 @@ + + + +# EmailVerificationBuilder<Extra> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) +- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) +- [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) +- EmailVerificationBuilder + + + + + + + + +## Constructors + +[EmailVerificationBuilder](../wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md) ({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) verified([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) notVerified([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage), [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md))?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + _const_ + + +## Properties + +##### [customBuilder](../wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md) → ([Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md))?) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) → [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? + + + +Controls how one widget replaces another widget in the tree. +_finalinherited_ + + + +##### [notVerified](../wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + + + + +_final_ + + + +##### [onError](../wyatt_authentication_bloc/EmailVerificationBuilder/onError.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage) + + + + +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [verified](../wyatt_authentication_bloc/EmailVerificationBuilder/verified.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + + + + +_final_ + + + + + +## Methods + +##### [build](../wyatt_authentication_bloc/EmailVerificationBuilder/build.md)([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + +Describes the part of the user interface represented by this widget. +_override_ + + + +##### [createElement](https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html)() [StatelessElement](https://api.flutter.dev/flutter/widgets/StatelessElement-class.html) + + + +Creates a StatelessElement to manage this widget's location in the tree. +_inherited_ + + + +##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)> + + + +Returns a list of DiagnosticsNode objects describing this node's +children. +_inherited_ + + + +##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void + + + +Add additional properties associated with the node. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html)? style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html) + + + +Returns a debug representation of the object that is used by debugging +tools and by DiagnosticsNode.toStringDeep. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a string representation of this node and its descendants. +_inherited_ + + + +##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a one-line detailed description of the object. +_inherited_ + + + +##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A short, textual description of this widget. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md new file mode 100644 index 00000000..02f74876 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/EmailVerificationBuilder.md @@ -0,0 +1,36 @@ + + + +# EmailVerificationBuilder<Extra> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +EmailVerificationBuilder<Extra>({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) verified([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) notVerified([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context), required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage), [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EmailVerificationState](../../wyatt_authentication_bloc/EmailVerificationState-class.md))?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + + + + +## Implementation + +```dart +const EmailVerificationBuilder({ + required this.verified, + required this.notVerified, + required this.onError, + this.customBuilder, + super.key, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/build.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/build.md new file mode 100644 index 00000000..6eaf5649 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/build.md @@ -0,0 +1,91 @@ + + + +# build method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) build +([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + +_override_ + + + +

Describes the part of the user interface represented by this widget.

+

The framework calls this method when this widget is inserted into the tree +in a given BuildContext and when the dependencies of this widget change +(e.g., an InheritedWidget referenced by this widget changes). This +method can potentially be called in every frame and should not have any side +effects beyond building a widget.

+

The framework replaces the subtree below this widget with the widget +returned by this method, either by updating the existing subtree or by +removing the subtree and inflating a new subtree, depending on whether the +widget returned by this method can update the root of the existing +subtree, as determined by calling Widget.canUpdate.

+

Typically implementations return a newly created constellation of widgets +that are configured with information from this widget's constructor and +from the given BuildContext.

+

The given BuildContext contains information about the location in the +tree at which this widget is being built. For example, the context +provides the set of inherited widgets for this location in the tree. A +given widget might be built with multiple different BuildContext +arguments over time if the widget is moved around the tree or if the +widget is inserted into the tree in multiple places at once.

+

The implementation of this method must only depend on:

+ +

If a widget's build method is to depend on anything else, use a +StatefulWidget instead.

+

See also:

+
    +
  • StatelessWidget, which contains the discussion on performance considerations.
  • +
+ + + +## Implementation + +```dart +@override +Widget build(BuildContext context) => + BlocBuilder, EmailVerificationState>( + builder: (context, state) { + if (customBuilder != null) { + return customBuilder!(context, state); + } + + if (state.status.isSubmissionFailure || + state.status.isSubmissionCanceled) { + return onError( + context, + state.status, + state.errorMessage, + ); + } + + if (state.isVerified) { + return verified(context); + } + return notVerified(context); + }, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md new file mode 100644 index 00000000..1b238503 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/customBuilder.md @@ -0,0 +1,34 @@ + + + +# customBuilder property + + + + + *[](https://dart.dev/null-safety)* + + + +([Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [EmailVerificationState](../../wyatt_authentication_bloc/EmailVerificationState-class.md))?) customBuilder + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function(BuildContext context, EmailVerificationState)? + customBuilder; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md new file mode 100644 index 00000000..fb67f5a1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/notVerified.md @@ -0,0 +1,33 @@ + + + +# notVerified property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) notVerified + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function(BuildContext context) notVerified; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/onError.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/onError.md new file mode 100644 index 00000000..caa029d2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/onError.md @@ -0,0 +1,37 @@ + + + +# onError property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage) onError + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function( + BuildContext context, + FormStatus status, + String? errorMessage, +) onError; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/verified.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/verified.md new file mode 100644 index 00000000..05f99c91 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationBuilder/verified.md @@ -0,0 +1,33 @@ + + + +# verified property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) verified + +_final_ + + + + + + +## Implementation + +```dart +final Widget Function(BuildContext context) verified; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit-class.md new file mode 100644 index 00000000..f582d49e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit-class.md @@ -0,0 +1,211 @@ + + + +# EmailVerificationCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md)> +- EmailVerificationCubit + + + + + + + + +## Constructors + +[EmailVerificationCubit](../wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [checkEmailVerification](../wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [sendEmailVerification](../wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md new file mode 100644 index 00000000..4dc46616 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/EmailVerificationCubit.md @@ -0,0 +1,32 @@ + + + +# EmailVerificationCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +EmailVerificationCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +EmailVerificationCubit({ + required this.authenticationRepository, +}) : super(const EmailVerificationState()); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md new file mode 100644 index 00000000..32cdfa2a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md new file mode 100644 index 00000000..7b602aac --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/checkEmailVerification.md @@ -0,0 +1,65 @@ + + + +# checkEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> checkEmailVerification +() + + + + + + + + +## Implementation + +```dart +FutureOr checkEmailVerification() async { + emit(state.copyWith(status: FormStatus.submissionInProgress)); + + final refresh = await authenticationRepository.refresh(); + if (refresh.isErr) { + final refreshError = refresh.err!; + emit( + EmailVerificationState( + errorMessage: refreshError.message, + status: FormStatus.submissionFailure, + ), + ); + return; + } + + final wrapper = await authenticationRepository.sessionStream().last; + final currentAccount = wrapper.session?.account; + if (currentAccount != null) { + emit( + state.copyWith( + isVerified: currentAccount.emailVerified, + status: FormStatus.submissionSuccess, + ), + ); + } else { + const EmailVerificationState( + errorMessage: 'No current session', + status: FormStatus.submissionFailure, + ); + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md new file mode 100644 index 00000000..5d9d58e5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationCubit/sendEmailVerification.md @@ -0,0 +1,47 @@ + + + +# sendEmailVerification method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> sendEmailVerification +() + + + + + + + + +## Implementation + +```dart +FutureOr sendEmailVerification() async { + emit(state.copyWith(status: FormStatus.submissionInProgress)); + final response = await authenticationRepository.sendEmailVerification(); + emit( + response.fold( + (value) => state.copyWith(status: FormStatus.submissionSuccess), + (error) => state.copyWith( + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState-class.md new file mode 100644 index 00000000..a1a99c58 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState-class.md @@ -0,0 +1,160 @@ + + + +# EmailVerificationState class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- EmailVerificationState + + + + + + + + +## Constructors + +[EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md) ({[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isVerified = false, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + _const_ + + +## Properties + +##### [errorMessage](../wyatt_authentication_bloc/EmailVerificationState/errorMessage.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isVerified](../wyatt_authentication_bloc/EmailVerificationState/isVerified.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + + +_final_ + + + +##### [props](../wyatt_authentication_bloc/EmailVerificationState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/EmailVerificationState/status.md) → FormStatus + + + + +_final_ + + + +##### [stringify](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/stringify.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [copyWith](../wyatt_authentication_bloc/EmailVerificationState/copyWith.md)({FormStatus? status, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? isVerified, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) [EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md) + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/EmailVerificationState/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_override_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md new file mode 100644 index 00000000..2b2eec71 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/EmailVerificationState.md @@ -0,0 +1,34 @@ + + + +# EmailVerificationState constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +EmailVerificationState({[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isVerified = false, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + +## Implementation + +```dart +const EmailVerificationState({ + this.isVerified = false, + this.status = FormStatus.pure, + this.errorMessage, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/copyWith.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/copyWith.md new file mode 100644 index 00000000..3828f71a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/copyWith.md @@ -0,0 +1,44 @@ + + + +# copyWith method + + + + + *[](https://dart.dev/null-safety)* + + + + +[EmailVerificationState](../../wyatt_authentication_bloc/EmailVerificationState-class.md) copyWith +({FormStatus? status, [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? isVerified, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + + + + +## Implementation + +```dart +EmailVerificationState copyWith({ + FormStatus? status, + bool? isVerified, + String? errorMessage, +}) => + EmailVerificationState( + status: status ?? this.status, + isVerified: isVerified ?? this.isVerified, + errorMessage: errorMessage ?? this.errorMessage, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/errorMessage.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/errorMessage.md new file mode 100644 index 00000000..4f0a5b7f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/errorMessage.md @@ -0,0 +1,33 @@ + + + +# errorMessage property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage + +_final_ + + + + + + +## Implementation + +```dart +final String? errorMessage; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/isVerified.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/isVerified.md new file mode 100644 index 00000000..5fe39d63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/isVerified.md @@ -0,0 +1,33 @@ + + + +# isVerified property + + + + + *[](https://dart.dev/null-safety)* + + + +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) isVerified + +_final_ + + + + + + +## Implementation + +```dart +final bool isVerified; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/props.md new file mode 100644 index 00000000..60e41027 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [status, isVerified, errorMessage]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/status.md new file mode 100644 index 00000000..5623cccf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/status.md @@ -0,0 +1,33 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +FormStatus status + +_final_ + + + + + + +## Implementation + +```dart +final FormStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/toString.md new file mode 100644 index 00000000..3fec7549 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/EmailVerificationState/toString.md @@ -0,0 +1,49 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_override_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +String toString() => 'EmailVerificationState(status: ${status.name} ' + '${(errorMessage != null) ? " [$errorMessage]" : ""}, ' + 'isVerified: $isVerified)'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md new file mode 100644 index 00000000..a97181ca --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# FetchSignInMethodsForEmailFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the fetch sign in methods if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [FetchSignInMethodsForEmailFailureInterface](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md) +- FetchSignInMethodsForEmailFailureFirebase + + + + + + + + +## Constructors + +[FetchSignInMethodsForEmailFailureFirebase](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[FetchSignInMethodsForEmailFailureFirebase.fromCode](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md new file mode 100644 index 00000000..3cf4d6c5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.fromCode.md @@ -0,0 +1,40 @@ + + + +# FetchSignInMethodsForEmailFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +FetchSignInMethodsForEmailFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +FetchSignInMethodsForEmailFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'invalid-email': + msg = 'The email address is badly formatted.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md new file mode 100644 index 00000000..4a74506c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase/FetchSignInMethodsForEmailFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# FetchSignInMethodsForEmailFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +FetchSignInMethodsForEmailFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +FetchSignInMethodsForEmailFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md new file mode 100644 index 00000000..5986c599 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# FetchSignInMethodsForEmailFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the fetch sign in methods if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- FetchSignInMethodsForEmailFailureInterface + + + +**Implementers** + +- [FetchSignInMethodsForEmailFailureFirebase](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md) + + + + + +## Constructors + +[FetchSignInMethodsForEmailFailureInterface](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the fetch sign in methods if a failure occurs. + +[FetchSignInMethodsForEmailFailureInterface.fromCode](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the fetch sign in methods if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md new file mode 100644 index 00000000..846ff49a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.fromCode.md @@ -0,0 +1,32 @@ + + + +# FetchSignInMethodsForEmailFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +FetchSignInMethodsForEmailFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the fetch sign in methods if a failure occurs.

+ + + +## Implementation + +```dart +FetchSignInMethodsForEmailFailureInterface.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md new file mode 100644 index 00000000..b38af41e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface/FetchSignInMethodsForEmailFailureInterface.md @@ -0,0 +1,31 @@ + + + +# FetchSignInMethodsForEmailFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +FetchSignInMethodsForEmailFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the fetch sign in methods if a failure occurs.

+ + + +## Implementation + +```dart +FetchSignInMethodsForEmailFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md new file mode 100644 index 00000000..60876e96 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# ModelParsingFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the model parsing process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [ModelParsingFailureInterface](../wyatt_authentication_bloc/ModelParsingFailureInterface-class.md) +- ModelParsingFailureFirebase + + + + + + + + +## Constructors + +[ModelParsingFailureFirebase](../wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[ModelParsingFailureFirebase.fromCode](../wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md new file mode 100644 index 00000000..0e9ae35c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# ModelParsingFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ModelParsingFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ModelParsingFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md new file mode 100644 index 00000000..51b77521 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureFirebase/ModelParsingFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# ModelParsingFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ModelParsingFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +ModelParsingFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface-class.md new file mode 100644 index 00000000..d8e2dead --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# ModelParsingFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the model parsing process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- ModelParsingFailureInterface + + + +**Implementers** + +- [ModelParsingFailureFirebase](../wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md) + + + + + +## Constructors + +[ModelParsingFailureInterface](../wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[ModelParsingFailureInterface.fromCode](../wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md new file mode 100644 index 00000000..055991cb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.fromCode.md @@ -0,0 +1,30 @@ + + + +# ModelParsingFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ModelParsingFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ModelParsingFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md new file mode 100644 index 00000000..473c347a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ModelParsingFailureInterface/ModelParsingFailureInterface.md @@ -0,0 +1,30 @@ + + + +# ModelParsingFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ModelParsingFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +ModelParsingFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit-class.md new file mode 100644 index 00000000..350b635e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit-class.md @@ -0,0 +1,275 @@ + + + +# PasswordResetCubit<Extra> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Cubit that allows user to reset his password

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md)> +- PasswordResetCubit + + + + + + + + +## Constructors + +[PasswordResetCubit](../wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Extra> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Extra> + + + + +_final_ + + + +##### [formName](../wyatt_authentication_bloc/PasswordResetCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-only_ + + + +##### [formRepository](../wyatt_authentication_bloc/PasswordResetCubit/formRepository.md) → FormRepository + + + + +_read-only_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [emailChanged](../wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/PasswordResetCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [submit](../wyatt_authentication_bloc/PasswordResetCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Sends a password reset email to the user + + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/PasswordResetCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + +##### [validate](../wyatt_authentication_bloc/PasswordResetCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + + + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md new file mode 100644 index 00000000..71d64822 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/PasswordResetCubit.md @@ -0,0 +1,37 @@ + + + +# PasswordResetCubit<Extra> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +PasswordResetCubit<Extra>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Extra> authenticationRepository}) + + + + + +## Implementation + +```dart +PasswordResetCubit({ + required this.authenticationRepository, +}) : super( + PasswordResetState( + form: authenticationRepository.formRepository + .accessForm(AuthFormName.passwordResetForm), + ), + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md new file mode 100644 index 00000000..1662ceda --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/authenticationRepository.md @@ -0,0 +1,33 @@ + + + +# authenticationRepository property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Extra> authenticationRepository + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationRepository authenticationRepository; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md new file mode 100644 index 00000000..c62e9718 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/dataChanged.md @@ -0,0 +1,53 @@ + + + +# dataChanged<Value> method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> dataChanged +<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) + + + + + + + + +## Implementation + +```dart +@override +FutureOr dataChanged( + String key, + FormInputValidator dirtyValue, +) { + final form = formRepository.accessForm(formName).clone(); + + try { + form.updateValidator(key, dirtyValue); + formRepository.updateForm(form); + } catch (e) { + rethrow; + } + + emit( + state.copyWith(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md new file mode 100644 index 00000000..85e7cc16 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailChanged.md @@ -0,0 +1,47 @@ + + + +# emailChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void emailChanged(String value) { + final emailValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.email) + .runtimeType; + assert( + emailValidatorType == Email, + 'Use emailCustomChanged(...) with validator $emailValidatorType', + ); + + final Email email = Email.dirty(value); + dataChanged(AuthFormField.email, email); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md new file mode 100644 index 00000000..fa9c4c14 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/emailCustomChanged.md @@ -0,0 +1,42 @@ + + + +# emailCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as emailChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void emailCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.email, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formName.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formName.md new file mode 100644 index 00000000..0e18d674 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formName.md @@ -0,0 +1,40 @@ + + + +# formName property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) formName + + + + + + + + +## Implementation + +```dart +@override +String get formName => AuthFormName.passwordResetForm; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formRepository.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formRepository.md new file mode 100644 index 00000000..db8665dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/formRepository.md @@ -0,0 +1,36 @@ + + + +# formRepository property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormRepository formRepository + + + + + + + + +## Implementation + +```dart +FormRepository get formRepository => authenticationRepository.formRepository; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/reset.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/reset.md new file mode 100644 index 00000000..199755fa --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/reset.md @@ -0,0 +1,43 @@ + + + +# reset method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> reset +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr reset() { + final form = state.form.reset(); + formRepository.updateForm(form); + emit( + state.copyWith(form: form, status: form.validate()), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/submit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/submit.md new file mode 100644 index 00000000..31bfedc7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/submit.md @@ -0,0 +1,70 @@ + + + +# submit method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> submit +() + + + + + +

Sends a password reset email to the user

+ + + +## Implementation + +```dart +@override +FutureOr submit() async { + if (!state.status.isValidated) { + return; + } + + emit(state.copyWith(status: FormStatus.submissionInProgress)); + + final form = formRepository.accessForm(formName); + final email = form.valueOf(AuthFormField.email); + + if (email.isNullOrEmpty) { + emit( + state.copyWith( + errorMessage: 'An error occured while retrieving data from the form.', + status: FormStatus.submissionFailure, + ), + ); + } + + final response = await authenticationRepository.sendPasswordResetEmail( + email: email!, + ); + + emit( + response.fold( + (value) => state.copyWith(status: FormStatus.submissionSuccess), + (error) => state.copyWith( + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/update.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/update.md new file mode 100644 index 00000000..23388fad --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/update.md @@ -0,0 +1,51 @@ + + + +# update method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> update +(WyattForm form, {SetOperation operation = SetOperation.replace}) + + + + + + + + +## Implementation + +```dart +@override +FutureOr update( + WyattForm form, { + SetOperation operation = SetOperation.replace, +}) { + final WyattForm current = formRepository.accessForm(formName).clone(); + final WyattForm newForm = operation.operation.call(current, form); + formRepository.updateForm(newForm); + + emit( + state.copyWith( + form: newForm, + status: newForm.validate(), + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/validate.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/validate.md new file mode 100644 index 00000000..5a8e5519 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetCubit/validate.md @@ -0,0 +1,43 @@ + + + +# validate method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> validate +() + + + + + + + + +## Implementation + +```dart +@override +FutureOr validate() { + emit( + state.copyWith( + status: formRepository.accessForm(formName).validate(), + ), + ); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState-class.md new file mode 100644 index 00000000..757a9170 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState-class.md @@ -0,0 +1,169 @@ + + + +# PasswordResetState class + + + + + + + *[](https://dart.dev/null-safety)* + + + + + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- PasswordResetState + + + + + + + + +## Constructors + +[PasswordResetState](../wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md) ({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + _const_ + + +## Properties + +##### [email](../wyatt_authentication_bloc/PasswordResetState/email.md) → Email + + + + +_read-only_ + + + +##### [errorMessage](../wyatt_authentication_bloc/PasswordResetState/errorMessage.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Optional error message. +_finalinherited_ + + + +##### [form](../wyatt_authentication_bloc/PasswordResetState/form.md) → WyattForm + + + +FormData with all inputs, and associated metadata. +_finalinherited_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/PasswordResetState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-only_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/PasswordResetState/status.md) → FormStatus + + + +Global status of a form. +_finalinherited_ + + + +##### [stringify](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/stringify.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [copyWith](../wyatt_authentication_bloc/PasswordResetState/copyWith.md)({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) [PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md) + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/PasswordResetState/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_override_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md new file mode 100644 index 00000000..c6d8f5cf --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/PasswordResetState.md @@ -0,0 +1,34 @@ + + + +# PasswordResetState constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +PasswordResetState({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + +## Implementation + +```dart +const PasswordResetState({ + required super.form, + super.status = FormStatus.pure, + super.errorMessage, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/copyWith.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/copyWith.md new file mode 100644 index 00000000..60199cc6 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/copyWith.md @@ -0,0 +1,44 @@ + + + +# copyWith method + + + + + *[](https://dart.dev/null-safety)* + + + + +[PasswordResetState](../../wyatt_authentication_bloc/PasswordResetState-class.md) copyWith +({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + + + + +## Implementation + +```dart +PasswordResetState copyWith({ + WyattForm? form, + FormStatus? status, + String? errorMessage, +}) => + PasswordResetState( + form: form ?? this.form, + status: status ?? this.status, + errorMessage: errorMessage ?? this.errorMessage, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/email.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/email.md new file mode 100644 index 00000000..0e3a2fc7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/email.md @@ -0,0 +1,36 @@ + + + +# email property + + + + + *[](https://dart.dev/null-safety)* + + + + + +Email email + + + + + + + + +## Implementation + +```dart +Email get email => form.validatorOf(AuthFormField.email); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/errorMessage.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/errorMessage.md new file mode 100644 index 00000000..d0856deb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/errorMessage.md @@ -0,0 +1,34 @@ + + + +# errorMessage property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage + +_finalinherited_ + + + +

Optional error message.

+ + + +## Implementation + +```dart +final String? errorMessage; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/form.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/form.md new file mode 100644 index 00000000..d3f2da76 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/form.md @@ -0,0 +1,34 @@ + + + +# form property + + + + + *[](https://dart.dev/null-safety)* + + + +WyattForm form + +_finalinherited_ + + + +

FormData with all inputs, and associated metadata.

+ + + +## Implementation + +```dart +final WyattForm form; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/props.md new file mode 100644 index 00000000..4665a84e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> props + + + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [email, status]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/status.md new file mode 100644 index 00000000..644a9f10 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/status.md @@ -0,0 +1,34 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +FormStatus status + +_finalinherited_ + + + +

Global status of a form.

+ + + +## Implementation + +```dart +final FormStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/toString.md new file mode 100644 index 00000000..d40bc441 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/PasswordResetState/toString.md @@ -0,0 +1,48 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_override_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +String toString() => 'PasswordResetState(status: ${status.name} ' + '${(errorMessage != null) ? " [$errorMessage]" : ""}, $form)'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md new file mode 100644 index 00000000..527e46f4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# ReauthenticateFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the reauthentication process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [ReauthenticateFailureInterface](../wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md) +- ReauthenticateFailureFirebase + + + + + + + + +## Constructors + +[ReauthenticateFailureFirebase](../wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[ReauthenticateFailureFirebase.fromCode](../wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md new file mode 100644 index 00000000..6ad6eccc --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.fromCode.md @@ -0,0 +1,57 @@ + + + +# ReauthenticateFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ReauthenticateFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ReauthenticateFailureFirebase.fromCode(String code) : super.fromCode(code) { + switch (code) { + case 'user-mismatch': + msg = 'Given credential does not correspond to the user.'; + break; + case 'user-not-found': + msg = 'User is not found, please create an account.'; + break; + case 'invalid-credential': + msg = 'The credential received is malformed or has expired.'; + break; + case 'invalid-email': + msg = 'Email is not valid or badly formatted.'; + break; + case 'wrong-password': + msg = 'Incorrect password, please try again.'; + break; + case 'invalid-verification-code': + msg = 'The credential verification code received is invalid.'; + break; + case 'invalid-verification-id': + msg = 'The credential verification ID received is invalid.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md new file mode 100644 index 00000000..e386d710 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureFirebase/ReauthenticateFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# ReauthenticateFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ReauthenticateFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +ReauthenticateFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md new file mode 100644 index 00000000..7c36e2c0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# ReauthenticateFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the reauthentication process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- ReauthenticateFailureInterface + + + +**Implementers** + +- [ReauthenticateFailureFirebase](../wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md) + + + + + +## Constructors + +[ReauthenticateFailureInterface](../wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[ReauthenticateFailureInterface.fromCode](../wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md new file mode 100644 index 00000000..c8d73b99 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.fromCode.md @@ -0,0 +1,30 @@ + + + +# ReauthenticateFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ReauthenticateFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +ReauthenticateFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md new file mode 100644 index 00000000..511d8024 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticateFailureInterface/ReauthenticateFailureInterface.md @@ -0,0 +1,30 @@ + + + +# ReauthenticateFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +ReauthenticateFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +ReauthenticateFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent-class.md new file mode 100644 index 00000000..1184c6f3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent-class.md @@ -0,0 +1,137 @@ + + + +# ReauthenticatedEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user re-authenticates (from the logged in state to the +logged in state with a different and fresh access +token and a different login time)

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- ReauthenticatedEvent + + + + + + + + +## Constructors + +[ReauthenticatedEvent](../wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/ReauthenticatedEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/ReauthenticatedEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md new file mode 100644 index 00000000..3b8ba4c3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/ReauthenticatedEvent.md @@ -0,0 +1,30 @@ + + + +# ReauthenticatedEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +ReauthenticatedEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const ReauthenticatedEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/ReauthenticatedEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase-class.md new file mode 100644 index 00000000..32cdc623 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# RefreshFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the refresh process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [RefreshFailureInterface](../wyatt_authentication_bloc/RefreshFailureInterface-class.md) +- RefreshFailureFirebase + + + + + + + + +## Constructors + +[RefreshFailureFirebase](../wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[RefreshFailureFirebase.fromCode](../wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md new file mode 100644 index 00000000..4b2cce16 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# RefreshFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +RefreshFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +RefreshFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md new file mode 100644 index 00000000..4ac4faee --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureFirebase/RefreshFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# RefreshFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +RefreshFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +RefreshFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface-class.md new file mode 100644 index 00000000..f485f140 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# RefreshFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the refresh process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- RefreshFailureInterface + + + +**Implementers** + +- [RefreshFailureFirebase](../wyatt_authentication_bloc/RefreshFailureFirebase-class.md) + + + + + +## Constructors + +[RefreshFailureInterface](../wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the refresh process if a failure occurs. + +[RefreshFailureInterface.fromCode](../wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the refresh process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md new file mode 100644 index 00000000..33b4dace --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# RefreshFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +RefreshFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the refresh process if a failure occurs.

+ + + +## Implementation + +```dart +RefreshFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md new file mode 100644 index 00000000..a958f830 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshFailureInterface/RefreshFailureInterface.md @@ -0,0 +1,31 @@ + + + +# RefreshFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +RefreshFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the refresh process if a failure occurs.

+ + + +## Implementation + +```dart +RefreshFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent-class.md new file mode 100644 index 00000000..bdca95f0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent-class.md @@ -0,0 +1,136 @@ + + + +# RefreshedEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user access token is refreshed (from the logged in state to the +logged in state with a different access token)

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- RefreshedEvent + + + + + + + + +## Constructors + +[RefreshedEvent](../wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/RefreshedEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/RefreshedEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md new file mode 100644 index 00000000..7317339e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/RefreshedEvent.md @@ -0,0 +1,30 @@ + + + +# RefreshedEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +RefreshedEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const RefreshedEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/RefreshedEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md new file mode 100644 index 00000000..813d225c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SendEmailVerificationFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the email verification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SendEmailVerificationFailureInterface](../wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md) +- SendEmailVerificationFailureFirebase + + + + + + + + +## Constructors + +[SendEmailVerificationFailureFirebase](../wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SendEmailVerificationFailureFirebase.fromCode](../wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md new file mode 100644 index 00000000..51531fd7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SendEmailVerificationFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendEmailVerificationFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SendEmailVerificationFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md new file mode 100644 index 00000000..e1f740ba --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureFirebase/SendEmailVerificationFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SendEmailVerificationFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendEmailVerificationFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SendEmailVerificationFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md new file mode 100644 index 00000000..42fff498 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SendEmailVerificationFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the email verification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SendEmailVerificationFailureInterface + + + +**Implementers** + +- [SendEmailVerificationFailureFirebase](../wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md) + + + + + +## Constructors + +[SendEmailVerificationFailureInterface](../wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the email verification process if a failure occurs. + +[SendEmailVerificationFailureInterface.fromCode](../wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the email verification process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md new file mode 100644 index 00000000..26acc0c1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SendEmailVerificationFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendEmailVerificationFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the email verification process if a failure occurs.

+ + + +## Implementation + +```dart +SendEmailVerificationFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md new file mode 100644 index 00000000..aeda1679 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendEmailVerificationFailureInterface/SendEmailVerificationFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SendEmailVerificationFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendEmailVerificationFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the email verification process if a failure occurs.

+ + + +## Implementation + +```dart +SendEmailVerificationFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md new file mode 100644 index 00000000..55b4b215 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SendPasswordResetEmailFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SendPasswordResetEmailFailureInterface](../wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md) +- SendPasswordResetEmailFailureFirebase + + + + + + + + +## Constructors + +[SendPasswordResetEmailFailureFirebase](../wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SendPasswordResetEmailFailureFirebase.fromCode](../wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md new file mode 100644 index 00000000..7b002359 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SendPasswordResetEmailFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendPasswordResetEmailFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SendPasswordResetEmailFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md new file mode 100644 index 00000000..e2fdbeab --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase/SendPasswordResetEmailFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SendPasswordResetEmailFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendPasswordResetEmailFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SendPasswordResetEmailFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md new file mode 100644 index 00000000..6473ac89 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SendPasswordResetEmailFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SendPasswordResetEmailFailureInterface + + + +**Implementers** + +- [SendPasswordResetEmailFailureFirebase](../wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md) + + + + + +## Constructors + +[SendPasswordResetEmailFailureInterface](../wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the password reset process if a failure occurs. + +[SendPasswordResetEmailFailureInterface.fromCode](../wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the password reset process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md new file mode 100644 index 00000000..039bd78b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.fromCode.md @@ -0,0 +1,32 @@ + + + +# SendPasswordResetEmailFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendPasswordResetEmailFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +SendPasswordResetEmailFailureInterface.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md new file mode 100644 index 00000000..cec0a974 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface/SendPasswordResetEmailFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SendPasswordResetEmailFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendPasswordResetEmailFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +SendPasswordResetEmailFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md new file mode 100644 index 00000000..b487ad39 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SendSignInLinkEmailFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in link process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SendSignInLinkEmailFailureInterface](../wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md) +- SendSignInLinkEmailFailureFirebase + + + + + + + + +## Constructors + +[SendSignInLinkEmailFailureFirebase](../wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SendSignInLinkEmailFailureFirebase.fromCode](../wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md new file mode 100644 index 00000000..11ea5805 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SendSignInLinkEmailFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendSignInLinkEmailFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SendSignInLinkEmailFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md new file mode 100644 index 00000000..27c3a9b9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase/SendSignInLinkEmailFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SendSignInLinkEmailFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendSignInLinkEmailFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SendSignInLinkEmailFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md new file mode 100644 index 00000000..b1887411 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SendSignInLinkEmailFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in link process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SendSignInLinkEmailFailureInterface + + + +**Implementers** + +- [SendSignInLinkEmailFailureFirebase](../wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md) + + + + + +## Constructors + +[SendSignInLinkEmailFailureInterface](../wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in link process if a failure occurs. + +[SendSignInLinkEmailFailureInterface.fromCode](../wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in link process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md new file mode 100644 index 00000000..6e8ab76a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SendSignInLinkEmailFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendSignInLinkEmailFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in link process if a failure occurs.

+ + + +## Implementation + +```dart +SendSignInLinkEmailFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md new file mode 100644 index 00000000..eba02b41 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface/SendSignInLinkEmailFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SendSignInLinkEmailFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SendSignInLinkEmailFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in link process if a failure occurs.

+ + + +## Implementation + +```dart +SendSignInLinkEmailFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session-class.md new file mode 100644 index 00000000..29cc3040 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session-class.md @@ -0,0 +1,144 @@ + + + +# Session<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

The Session object is used to transport and propagate +the connected user Account and personalized Data in the application.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- Session + + + + + + + + +## Constructors + +[Session](../wyatt_authentication_bloc/Session/Session.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account, Data? data}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/Session/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [data](../wyatt_authentication_bloc/Session/data.md) → Data? + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/Session/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/Session/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyoverride_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/Session.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/Session.md new file mode 100644 index 00000000..f8c9a635 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/Session.md @@ -0,0 +1,33 @@ + + + +# Session<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +Session<Data>({required [Account](../../wyatt_authentication_bloc/Account-class.md) account, Data? data}) + + + + + +## Implementation + +```dart +const Session({ + required this.account, + this.data, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/data.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/data.md new file mode 100644 index 00000000..b95c07e1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/data.md @@ -0,0 +1,33 @@ + + + +# data property + + + + + *[](https://dart.dev/null-safety)* + + + +Data? data + +_final_ + + + + + + +## Implementation + +```dart +final Data? data; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/props.md new file mode 100644 index 00000000..5246eb8f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account, data]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/stringify.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/stringify.md new file mode 100644 index 00000000..c2fc4fca --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/Session/stringify.md @@ -0,0 +1,47 @@ + + + +# stringify property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? stringify + +_override_ + + + +

If set to true, the toString method will be overridden to output +this instance's props.

+

A global default value for stringify can be set using +EquatableConfig.stringify.

+

If this instance's stringify is set to null, the value of +EquatableConfig.stringify will be used instead. This defaults to +false.

+ + + +## Implementation + +```dart +@override +bool? get stringify => true; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper-class.md new file mode 100644 index 00000000..dd0d4a9d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper-class.md @@ -0,0 +1,144 @@ + + + +# SessionWrapper<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Contains the AuthenticationChangeEvent initiating the state +change and the current Session.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- SessionWrapper + + + + + + + + +## Constructors + +[SessionWrapper](../wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md) ({required [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) event, [Session](../wyatt_authentication_bloc/Session-class.md)<Data>? session}) + + _const_ + + +## Properties + +##### [event](../wyatt_authentication_bloc/SessionWrapper/event.md) → [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/SessionWrapper/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [session](../wyatt_authentication_bloc/SessionWrapper/session.md) → [Session](../wyatt_authentication_bloc/Session-class.md)<Data>? + + + + +_final_ + + + +##### [stringify](../wyatt_authentication_bloc/SessionWrapper/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyoverride_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md new file mode 100644 index 00000000..d26a9969 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/SessionWrapper.md @@ -0,0 +1,33 @@ + + + +# SessionWrapper<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SessionWrapper<Data>({required [AuthenticationChangeEvent](../../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) event, [Session](../../wyatt_authentication_bloc/Session-class.md)<Data>? session}) + + + + + +## Implementation + +```dart +const SessionWrapper({ + required this.event, + this.session, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/event.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/event.md new file mode 100644 index 00000000..a1e5da09 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/event.md @@ -0,0 +1,33 @@ + + + +# event property + + + + + *[](https://dart.dev/null-safety)* + + + +[AuthenticationChangeEvent](../../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) event + +_final_ + + + + + + +## Implementation + +```dart +final AuthenticationChangeEvent event; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/props.md new file mode 100644 index 00000000..318648ca --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [event, session]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/session.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/session.md new file mode 100644 index 00000000..a713c2af --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/session.md @@ -0,0 +1,33 @@ + + + +# session property + + + + + *[](https://dart.dev/null-safety)* + + + +[Session](../../wyatt_authentication_bloc/Session-class.md)<Data>? session + +_final_ + + + + + + +## Implementation + +```dart +final Session? session; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/stringify.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/stringify.md new file mode 100644 index 00000000..4fe942de --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SessionWrapper/stringify.md @@ -0,0 +1,47 @@ + + + +# stringify property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) stringify + +_override_ + + + +

If set to true, the toString method will be overridden to output +this instance's props.

+

A global default value for stringify can be set using +EquatableConfig.stringify.

+

If this instance's stringify is set to null, the value of +EquatableConfig.stringify will be used instead. This defaults to +false.

+ + + +## Implementation + +```dart +@override +bool get stringify => true; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously-mixin.md new file mode 100644 index 00000000..3dd086b7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously-mixin.md @@ -0,0 +1,269 @@ + + + +# SignInAnonymously<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign in mixin.

+

Allows the user to sign in anonymously

+

Gives access to the signInAnonymously method and +onSignInAnonymously callback.

+ + +**Superclass Constraints** + +- [BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [SignInCubit](../wyatt_authentication_bloc/SignInCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignInCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignInCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignInState](../wyatt_authentication_bloc/SignInState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignInAnonymously](../wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in anonymously. + + + + +##### [reset](../wyatt_authentication_bloc/BaseSignInCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signInAnonymously](../wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Sign in anonymously. + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignInCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignInCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignInCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md new file mode 100644 index 00000000..fa83d0b9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/onSignInAnonymously.md @@ -0,0 +1,39 @@ + + + +# onSignInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onSignInAnonymously +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when a user signs in anonymously.

+ + + +## Implementation + +```dart +FutureOrResult onSignInAnonymously( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md new file mode 100644 index 00000000..0c21eeb5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md @@ -0,0 +1,79 @@ + + + +# signInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> signInAnonymously +() + + + + + +

Sign in anonymously.

+

Throws a SignInAnonymouslyFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOr signInAnonymously() async { + if (state.status.isSubmissionInProgress) { + return; + } + + final form = formRepository.accessForm(formName); + emit(SignInState(form: form, status: FormStatus.submissionInProgress)); + + return CustomRoutine( + routine: authenticationRepository.signInAnonymously, + attachedLogic: (routineResult) => onSignInAnonymously( + routineResult, + form, + ), + onError: (error) { + emit( + SignInState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: SignedInEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + SignInState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md new file mode 100644 index 00000000..23458a20 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SignInAnonymouslyFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInAnonymouslyFailureInterface](../wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md) +- SignInAnonymouslyFailureFirebase + + + + + + + + +## Constructors + +[SignInAnonymouslyFailureFirebase](../wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInAnonymouslyFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md new file mode 100644 index 00000000..7edb701d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.fromCode.md @@ -0,0 +1,40 @@ + + + +# SignInAnonymouslyFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInAnonymouslyFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInAnonymouslyFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'operation-not-allowed': + msg = 'Operation is not allowed. Please contact support.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md new file mode 100644 index 00000000..3125f39a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase/SignInAnonymouslyFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignInAnonymouslyFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInAnonymouslyFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInAnonymouslyFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md new file mode 100644 index 00000000..df9dd187 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInAnonymouslyFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInAnonymouslyFailureInterface + + + +**Implementers** + +- [SignInAnonymouslyFailureFirebase](../wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md) + + + + + +## Constructors + +[SignInAnonymouslyFailureInterface](../wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInAnonymouslyFailureInterface.fromCode](../wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md new file mode 100644 index 00000000..13e4bd31 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInAnonymouslyFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInAnonymouslyFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInAnonymouslyFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md new file mode 100644 index 00000000..54eeaeb0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInAnonymouslyFailureInterface/SignInAnonymouslyFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInAnonymouslyFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInAnonymouslyFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInAnonymouslyFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit-class.md new file mode 100644 index 00000000..638a83a7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit-class.md @@ -0,0 +1,354 @@ + + + +# SignInCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Fully featured sign in cubit.

+

Sufficient in most cases. (Where fine granularity is not required.)

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> +- [BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit-class.md)<Data> +- SignInCubit + + +**Mixed in types** + +- [SignInAnonymously](../wyatt_authentication_bloc/SignInAnonymously-mixin.md)<Data> +- [SignInWithEmailPassword](../wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md)<Data> +- [SignInWithGoogle](../wyatt_authentication_bloc/SignInWithGoogle-mixin.md)<Data> + + + + + + +## Constructors + +[SignInCubit](../wyatt_authentication_bloc/SignInCubit/SignInCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignInCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignInCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignInState](../wyatt_authentication_bloc/SignInState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignInAnonymously](../wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in anonymously. +_override_ + + + +##### [onSignInWithEmailAndPassword](../wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in with email and password. +_override_ + + + +##### [onSignInWithGoogle](../wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in with google. +_override_ + + + +##### [passwordChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseSignInCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signInAnonymously](../wyatt_authentication_bloc/SignInAnonymously/signInAnonymously.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Sign in anonymously. +_inherited_ + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Signs in with the provided email and password. +_inherited_ + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Starts the Sign In with Google Flow. +_inherited_ + + + +##### [submit](../wyatt_authentication_bloc/BaseSignInCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignInCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignInCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/SignInCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/SignInCubit.md new file mode 100644 index 00000000..f2a52155 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/SignInCubit.md @@ -0,0 +1,30 @@ + + + +# SignInCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +SignInCubit({required super.authenticationRepository}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md new file mode 100644 index 00000000..034b1e38 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInAnonymously.md @@ -0,0 +1,42 @@ + + + +# onSignInAnonymously method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onSignInAnonymously +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when a user signs in anonymously.

+ + + +## Implementation + +```dart +@override +FutureOrResult onSignInAnonymously( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md new file mode 100644 index 00000000..53132dae --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithEmailAndPassword.md @@ -0,0 +1,42 @@ + + + +# onSignInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onSignInWithEmailAndPassword +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when a user signs in with email and password.

+ + + +## Implementation + +```dart +@override +FutureOrResult onSignInWithEmailAndPassword( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md new file mode 100644 index 00000000..19904a99 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInCubit/onSignInWithGoogle.md @@ -0,0 +1,42 @@ + + + +# onSignInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onSignInWithGoogle +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when a user signs in with google.

+ + + +## Implementation + +```dart +@override +FutureOrResult onSignInWithGoogle( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener-class.md new file mode 100644 index 00000000..f048a063 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener-class.md @@ -0,0 +1,236 @@ + + + +# SignInListener<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Widget that listens and builds a child based on the state of +the sign in cubit

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) +- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) +- [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) +- SignInListener + + + + + + + + +## Constructors + +[SignInListener](../wyatt_authentication_bloc/SignInListener/SignInListener.md) ({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignInState](../wyatt_authentication_bloc/SignInState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + _const_ + + +## Properties + +##### [child](../wyatt_authentication_bloc/SignInListener/child.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + + +_final_ + + + +##### [customBuilder](../wyatt_authentication_bloc/SignInListener/customBuilder.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignInState](../wyatt_authentication_bloc/SignInState-class.md) state)?) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) → [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? + + + +Controls how one widget replaces another widget in the tree. +_finalinherited_ + + + +##### [onError](../wyatt_authentication_bloc/SignInListener/onError.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) + + + + +_final_ + + + +##### [onProgress](../wyatt_authentication_bloc/SignInListener/onProgress.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [onSuccess](../wyatt_authentication_bloc/SignInListener/onSuccess.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [build](../wyatt_authentication_bloc/SignInListener/build.md)([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + +Describes the part of the user interface represented by this widget. +_override_ + + + +##### [createElement](https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html)() [StatelessElement](https://api.flutter.dev/flutter/widgets/StatelessElement-class.html) + + + +Creates a StatelessElement to manage this widget's location in the tree. +_inherited_ + + + +##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)> + + + +Returns a list of DiagnosticsNode objects describing this node's +children. +_inherited_ + + + +##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void + + + +Add additional properties associated with the node. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html)? style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html) + + + +Returns a debug representation of the object that is used by debugging +tools and by DiagnosticsNode.toStringDeep. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a string representation of this node and its descendants. +_inherited_ + + + +##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a one-line detailed description of the object. +_inherited_ + + + +##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A short, textual description of this widget. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/SignInListener.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/SignInListener.md new file mode 100644 index 00000000..a9cfeea1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/SignInListener.md @@ -0,0 +1,37 @@ + + + +# SignInListener<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignInListener<Data>({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignInState](../../wyatt_authentication_bloc/SignInState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + + + + +## Implementation + +```dart +const SignInListener({ + required this.child, + this.onProgress, + this.onSuccess, + this.onError, + this.customBuilder, + super.key, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/build.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/build.md new file mode 100644 index 00000000..d6783753 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/build.md @@ -0,0 +1,92 @@ + + + +# build method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) build +([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + +_override_ + + + +

Describes the part of the user interface represented by this widget.

+

The framework calls this method when this widget is inserted into the tree +in a given BuildContext and when the dependencies of this widget change +(e.g., an InheritedWidget referenced by this widget changes). This +method can potentially be called in every frame and should not have any side +effects beyond building a widget.

+

The framework replaces the subtree below this widget with the widget +returned by this method, either by updating the existing subtree or by +removing the subtree and inflating a new subtree, depending on whether the +widget returned by this method can update the root of the existing +subtree, as determined by calling Widget.canUpdate.

+

Typically implementations return a newly created constellation of widgets +that are configured with information from this widget's constructor and +from the given BuildContext.

+

The given BuildContext contains information about the location in the +tree at which this widget is being built. For example, the context +provides the set of inherited widgets for this location in the tree. A +given widget might be built with multiple different BuildContext +arguments over time if the widget is moved around the tree or if the +widget is inserted into the tree in multiple places at once.

+

The implementation of this method must only depend on:

+ +

If a widget's build method is to depend on anything else, use a +StatefulWidget instead.

+

See also:

+
    +
  • StatelessWidget, which contains the discussion on performance considerations.
  • +
+ + + +## Implementation + +```dart +@override +Widget build(BuildContext context) => + BlocListener, SignInState>( + listener: (context, state) { + if (customBuilder != null) { + return customBuilder!(context, state); + } + + if (onSuccess != null && + state.status == FormStatus.submissionSuccess) { + return onSuccess!(context); + } + if (onProgress != null && + state.status == FormStatus.submissionInProgress) { + return onProgress!(context); + } + if (onError != null && + (state.status == FormStatus.submissionCanceled || + state.status == FormStatus.submissionFailure)) { + return onError!(context, state.status, state.errorMessage); + } + }, + child: child, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/child.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/child.md new file mode 100644 index 00000000..53bc3682 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/child.md @@ -0,0 +1,33 @@ + + + +# child property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child + +_final_ + + + + + + +## Implementation + +```dart +final Widget child; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/customBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/customBuilder.md new file mode 100644 index 00000000..132cb4c3 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/customBuilder.md @@ -0,0 +1,33 @@ + + + +# customBuilder property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignInState](../../wyatt_authentication_bloc/SignInState-class.md) state)?) customBuilder + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context, SignInState state)? customBuilder; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onError.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onError.md new file mode 100644 index 00000000..ed94a98f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onError.md @@ -0,0 +1,37 @@ + + + +# onError property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) onError + +_final_ + + + + + + +## Implementation + +```dart +final void Function( + BuildContext context, + FormStatus status, + String? errorMessage, +)? onError; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onProgress.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onProgress.md new file mode 100644 index 00000000..4a30ed71 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onProgress.md @@ -0,0 +1,33 @@ + + + +# onProgress property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onProgress + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onProgress; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onSuccess.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onSuccess.md new file mode 100644 index 00000000..4d942f63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInListener/onSuccess.md @@ -0,0 +1,33 @@ + + + +# onSuccess property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onSuccess + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onSuccess; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState-class.md new file mode 100644 index 00000000..efb514c4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState-class.md @@ -0,0 +1,179 @@ + + + +# SignInState class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign in cubit state to manage the form.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- SignInState + + + + + + + + +## Constructors + +[SignInState](../wyatt_authentication_bloc/SignInState/SignInState.md) ({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + _const_ + + +## Properties + +##### [email](../wyatt_authentication_bloc/SignInState/email.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [errorMessage](../wyatt_authentication_bloc/SignInState/errorMessage.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Optional error message. +_finalinherited_ + + + +##### [form](../wyatt_authentication_bloc/SignInState/form.md) → WyattForm + + + +FormData with all inputs, and associated metadata. +_finalinherited_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [password](../wyatt_authentication_bloc/SignInState/password.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [props](../wyatt_authentication_bloc/SignInState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-only_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/SignInState/status.md) → FormStatus + + + +Global status of a form. +_finalinherited_ + + + +##### [stringify](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/stringify.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [copyWith](../wyatt_authentication_bloc/SignInState/copyWith.md)({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/SignInState/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_override_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/SignInState.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/SignInState.md new file mode 100644 index 00000000..648fe926 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/SignInState.md @@ -0,0 +1,34 @@ + + + +# SignInState constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignInState({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + +## Implementation + +```dart +const SignInState({ + required super.form, + super.status = FormStatus.pure, + super.errorMessage, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/copyWith.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/copyWith.md new file mode 100644 index 00000000..e6b06fe5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/copyWith.md @@ -0,0 +1,44 @@ + + + +# copyWith method + + + + + *[](https://dart.dev/null-safety)* + + + + +[SignInState](../../wyatt_authentication_bloc/SignInState-class.md) copyWith +({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + + + + +## Implementation + +```dart +SignInState copyWith({ + WyattForm? form, + FormStatus? status, + String? errorMessage, +}) => + SignInState( + form: form ?? this.form, + status: status ?? this.status, + errorMessage: errorMessage ?? this.errorMessage, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/email.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/email.md new file mode 100644 index 00000000..1ded8043 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/email.md @@ -0,0 +1,37 @@ + + + +# email property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> email + + + + + + + + +## Implementation + +```dart +FormInputValidator get email => + form.validatorOf(AuthFormField.email); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/errorMessage.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/errorMessage.md new file mode 100644 index 00000000..d0856deb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/errorMessage.md @@ -0,0 +1,34 @@ + + + +# errorMessage property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage + +_finalinherited_ + + + +

Optional error message.

+ + + +## Implementation + +```dart +final String? errorMessage; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/form.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/form.md new file mode 100644 index 00000000..d3f2da76 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/form.md @@ -0,0 +1,34 @@ + + + +# form property + + + + + *[](https://dart.dev/null-safety)* + + + +WyattForm form + +_finalinherited_ + + + +

FormData with all inputs, and associated metadata.

+ + + +## Implementation + +```dart +final WyattForm form; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/password.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/password.md new file mode 100644 index 00000000..77938106 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/password.md @@ -0,0 +1,37 @@ + + + +# password property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> password + + + + + + + + +## Implementation + +```dart +FormInputValidator get password => + form.validatorOf(AuthFormField.password); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/props.md new file mode 100644 index 00000000..eab8d26c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> props + + + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [email, password, status]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/status.md new file mode 100644 index 00000000..644a9f10 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/status.md @@ -0,0 +1,34 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +FormStatus status + +_finalinherited_ + + + +

Global status of a form.

+ + + +## Implementation + +```dart +final FormStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/toString.md new file mode 100644 index 00000000..01225d4e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInState/toString.md @@ -0,0 +1,48 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_override_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +String toString() => 'SignInState(status: ${status.name} ' + '${(errorMessage != null) ? " [$errorMessage]" : ""}, $form)'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md new file mode 100644 index 00000000..a188c284 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md @@ -0,0 +1,141 @@ + + + +# SignInWithAppleFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) +- SignInWithAppleFailureFirebase + +**Implemented types** + +- [SignInWithAppleFailureInterface](../wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md) + + + + + + + +## Constructors + +[SignInWithAppleFailureFirebase](../wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithAppleFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md new file mode 100644 index 00000000..c07fe58b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SignInWithAppleFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithAppleFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithAppleFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md new file mode 100644 index 00000000..4aa51024 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureFirebase/SignInWithAppleFailureFirebase.md @@ -0,0 +1,30 @@ + + + +# SignInWithAppleFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithAppleFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithAppleFailureFirebase([super.code, super.msg]); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md new file mode 100644 index 00000000..7b1837ba --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md @@ -0,0 +1,140 @@ + + + +# SignInWithAppleFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithAppleFailureInterface + + + +**Implementers** + +- [SignInWithAppleFailureFirebase](../wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md) +- [SignInWithTwitterFailureFirebase](../wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithAppleFailureInterface](../wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithAppleFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md new file mode 100644 index 00000000..6786f6d9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithAppleFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithAppleFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithAppleFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md new file mode 100644 index 00000000..6994d8b8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithAppleFailureInterface/SignInWithAppleFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithAppleFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithAppleFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithAppleFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md new file mode 100644 index 00000000..f9e120f8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md @@ -0,0 +1,143 @@ + + + +# SignInWithCredentialFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- SignInWithCredentialFailureFirebase + + + +**Implementers** + +- [SignInWithAppleFailureFirebase](../wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md) +- [SignInWithFacebookFailureFirebase](../wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md) +- [SignInWithGoogleFailureFirebase](../wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md) +- [SignInWithTwitterFailureFirebase](../wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithCredentialFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md new file mode 100644 index 00000000..d2b1deb1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.fromCode.md @@ -0,0 +1,61 @@ + + + +# SignInWithCredentialFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithCredentialFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithCredentialFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'account-exists-with-different-credential': + msg = 'Account exists with different credentials.'; + break; + case 'invalid-credential': + msg = 'The credential received is malformed or has expired.'; + break; + case 'operation-not-allowed': + msg = 'Operation is not allowed. Please contact support.'; + break; + case 'user-disabled': + msg = 'This user has been disabled. Please contact support for help.'; + break; + case 'user-not-found': + msg = 'Email is not found, please create an account.'; + break; + case 'wrong-password': + msg = 'Incorrect password, please try again.'; + break; + case 'invalid-verification-code': + msg = 'The credential verification code received is invalid.'; + break; + case 'invalid-verification-id': + msg = 'The credential verification ID received is invalid.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md new file mode 100644 index 00000000..66f66bb9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureFirebase/SignInWithCredentialFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignInWithCredentialFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithCredentialFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithCredentialFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md new file mode 100644 index 00000000..08473e12 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInWithCredentialFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithCredentialFailureInterface + + + +**Implementers** + +- [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithCredentialFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md new file mode 100644 index 00000000..14c794db --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithCredentialFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithCredentialFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithCredentialFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md new file mode 100644 index 00000000..4030c6cd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithCredentialFailureInterface/SignInWithCredentialFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithCredentialFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithCredentialFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithCredentialFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md new file mode 100644 index 00000000..5a28b107 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SignInWithEmailAndPasswordFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md) +- SignInWithEmailAndPasswordFailureFirebase + + + + + + + + +## Constructors + +[SignInWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithEmailAndPasswordFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md new file mode 100644 index 00000000..5b9663d4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.fromCode.md @@ -0,0 +1,49 @@ + + + +# SignInWithEmailAndPasswordFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailAndPasswordFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithEmailAndPasswordFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'invalid-email': + msg = 'Email is not valid or badly formatted.'; + break; + case 'user-disabled': + msg = 'This user has been disabled. Please contact support for help.'; + break; + case 'user-not-found': + msg = 'Email is not found, please create an account.'; + break; + case 'wrong-password': + msg = 'Incorrect password, please try again.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md new file mode 100644 index 00000000..42ec7079 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase/SignInWithEmailAndPasswordFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignInWithEmailAndPasswordFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailAndPasswordFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithEmailAndPasswordFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md new file mode 100644 index 00000000..acdf3cf0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInWithEmailAndPasswordFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithEmailAndPasswordFailureInterface + + + +**Implementers** + +- [SignInWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithEmailAndPasswordFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md new file mode 100644 index 00000000..735df785 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.fromCode.md @@ -0,0 +1,32 @@ + + + +# SignInWithEmailAndPasswordFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailAndPasswordFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithEmailAndPasswordFailureInterface.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md new file mode 100644 index 00000000..fff1afd8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface/SignInWithEmailAndPasswordFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithEmailAndPasswordFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailAndPasswordFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithEmailAndPasswordFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md new file mode 100644 index 00000000..e2360fe9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SignInWithEmailLinkFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithEmailLinkFailureInterface](../wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md) +- SignInWithEmailLinkFailureFirebase + + + + + + + + +## Constructors + +[SignInWithEmailLinkFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithEmailLinkFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md new file mode 100644 index 00000000..a8ccdec9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.fromCode.md @@ -0,0 +1,46 @@ + + + +# SignInWithEmailLinkFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailLinkFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithEmailLinkFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'expired-action-code': + msg = 'Action code has expired.'; + break; + case 'invalid-email': + msg = 'Email is not valid or badly formatted.'; + break; + case 'user-disabled': + msg = 'This user has been disabled. Please contact support for help.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md new file mode 100644 index 00000000..456995ec --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase/SignInWithEmailLinkFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignInWithEmailLinkFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailLinkFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithEmailLinkFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md new file mode 100644 index 00000000..e087037b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInWithEmailLinkFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithEmailLinkFailureInterface + + + +**Implementers** + +- [SignInWithEmailLinkFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithEmailLinkFailureInterface](../wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithEmailLinkFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md new file mode 100644 index 00000000..3d4531a9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithEmailLinkFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailLinkFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithEmailLinkFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md new file mode 100644 index 00000000..73f298cb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface/SignInWithEmailLinkFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithEmailLinkFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithEmailLinkFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithEmailLinkFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md new file mode 100644 index 00000000..78cf1a73 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md @@ -0,0 +1,305 @@ + + + +# SignInWithEmailPassword<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign in mixin.

+

Allows the user to sign in with email and password

+

Gives access to the signInWithEmailAndPassword method and +onSignInWithEmailAndPassword callback.

+ + +**Superclass Constraints** + +- [BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [SignInCubit](../wyatt_authentication_bloc/SignInCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignInCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignInCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignInState](../wyatt_authentication_bloc/SignInState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignInWithEmailAndPassword](../wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in with email and password. + + + + +##### [passwordChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. + + + + +##### [reset](../wyatt_authentication_bloc/BaseSignInCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signInWithEmailAndPassword](../wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Signs in with the provided email and password. + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignInCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignInCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignInCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md new file mode 100644 index 00000000..85e7cc16 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailChanged.md @@ -0,0 +1,47 @@ + + + +# emailChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void emailChanged(String value) { + final emailValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.email) + .runtimeType; + assert( + emailValidatorType == Email, + 'Use emailCustomChanged(...) with validator $emailValidatorType', + ); + + final Email email = Email.dirty(value); + dataChanged(AuthFormField.email, email); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md new file mode 100644 index 00000000..fcb48b24 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/emailCustomChanged.md @@ -0,0 +1,42 @@ + + + +# emailCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as emailChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void emailCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.email, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md new file mode 100644 index 00000000..0a35342a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/onSignInWithEmailAndPassword.md @@ -0,0 +1,39 @@ + + + +# onSignInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onSignInWithEmailAndPassword +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when a user signs in with email and password.

+ + + +## Implementation + +```dart +FutureOrResult onSignInWithEmailAndPassword( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md new file mode 100644 index 00000000..8db9fda0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordChanged.md @@ -0,0 +1,46 @@ + + + +# passwordChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void passwordChanged(String value) { + final passwordValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.password) + .runtimeType; + assert( + passwordValidatorType == Password, + 'Use passwordCustomChanged(...) with validator $passwordValidatorType', + ); + final Password password = Password.dirty(value); + dataChanged(AuthFormField.password, password); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md new file mode 100644 index 00000000..cca9b5ad --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/passwordCustomChanged.md @@ -0,0 +1,42 @@ + + + +# passwordCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as passwordChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void passwordCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.password, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md new file mode 100644 index 00000000..808606f8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithEmailPassword/signInWithEmailAndPassword.md @@ -0,0 +1,105 @@ + + + +# signInWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> signInWithEmailAndPassword +() + + + + + +

Signs in with the provided email and password.

+

Throws a SignInWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr signInWithEmailAndPassword() async { + if (state.status.isSubmissionInProgress) { + return; + } + + if (!state.status.isValidated) { + return; + } + + final form = formRepository.accessForm(formName); + emit( + SignInState( + form: form, + status: FormStatus.submissionInProgress, + ), + ); + + final email = form.valueOf(AuthFormField.email); + final password = form.valueOf(AuthFormField.password); + + if (email.isNullOrEmpty || password.isNullOrEmpty) { + emit( + SignInState( + form: form, + errorMessage: 'An error occured while retrieving data from the form.', + status: FormStatus.submissionFailure, + ), + ); + } + + return CustomRoutine( + routine: () => authenticationRepository.signInWithEmailAndPassword( + email: email!, + password: password!, + ), + attachedLogic: (routineResult) => onSignInWithEmailAndPassword( + routineResult, + form, + ), + onError: (error) { + emit( + SignInState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: SignedInEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + SignInState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md new file mode 100644 index 00000000..f1e15f55 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md @@ -0,0 +1,141 @@ + + + +# SignInWithFacebookFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) +- SignInWithFacebookFailureFirebase + +**Implemented types** + +- [SignInWithFacebookFailureInterface](../wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md) + + + + + + + +## Constructors + +[SignInWithFacebookFailureFirebase](../wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithFacebookFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md new file mode 100644 index 00000000..10c11c0b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SignInWithFacebookFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithFacebookFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithFacebookFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md new file mode 100644 index 00000000..df7ed863 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureFirebase/SignInWithFacebookFailureFirebase.md @@ -0,0 +1,30 @@ + + + +# SignInWithFacebookFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithFacebookFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithFacebookFailureFirebase([super.code, super.msg]); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md new file mode 100644 index 00000000..c0ad332f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInWithFacebookFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithFacebookFailureInterface + + + +**Implementers** + +- [SignInWithFacebookFailureFirebase](../wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithFacebookFailureInterface](../wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithFacebookFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md new file mode 100644 index 00000000..539c8a5a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithFacebookFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithFacebookFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithFacebookFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md new file mode 100644 index 00000000..abace647 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithFacebookFailureInterface/SignInWithFacebookFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithFacebookFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithFacebookFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithFacebookFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle-mixin.md new file mode 100644 index 00000000..ff62c2b5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle-mixin.md @@ -0,0 +1,269 @@ + + + +# SignInWithGoogle<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign in mixin.

+

Allows the user to sign in with google

+

Gives access to the signInWithGoogle method and +onSignInWithGoogle callback.

+ + +**Superclass Constraints** + +- [BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [SignInCubit](../wyatt_authentication_bloc/SignInCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignInCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignInCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignInCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignInCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignInState](../wyatt_authentication_bloc/SignInState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignInState](../wyatt_authentication_bloc/SignInState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignInWithGoogle](../wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user signs in with google. + + + + +##### [reset](../wyatt_authentication_bloc/BaseSignInCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signInWithGoogle](../wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Starts the Sign In with Google Flow. + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignInCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignInCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignInCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md new file mode 100644 index 00000000..2f91ea65 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/onSignInWithGoogle.md @@ -0,0 +1,39 @@ + + + +# onSignInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onSignInWithGoogle +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when a user signs in with google.

+ + + +## Implementation + +```dart +FutureOrResult onSignInWithGoogle( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md new file mode 100644 index 00000000..5f6d2741 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogle/signInWithGoogle.md @@ -0,0 +1,78 @@ + + + +# signInWithGoogle method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> signInWithGoogle +() + + + + + +

Starts the Sign In with Google Flow.

+

Throws a SignInWithGoogleFailureInterface if an exception occurs.

+ + + +## Implementation + +```dart +FutureOr signInWithGoogle() async { + if (state.status.isSubmissionInProgress) { + return; + } + final form = formRepository.accessForm(formName); + emit(SignInState(form: form, status: FormStatus.submissionInProgress)); + + return CustomRoutine( + routine: authenticationRepository.signInWithGoogle, + attachedLogic: (routineResult) => onSignInWithGoogle( + routineResult, + form, + ), + onError: (error) { + emit( + SignInState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: SignedInEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + SignInState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md new file mode 100644 index 00000000..91cf6845 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md @@ -0,0 +1,141 @@ + + + +# SignInWithGoogleFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) +- SignInWithGoogleFailureFirebase + +**Implemented types** + +- [SignInWithGoogleFailureInterface](../wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md) + + + + + + + +## Constructors + +[SignInWithGoogleFailureFirebase](../wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithGoogleFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md new file mode 100644 index 00000000..c189a40e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SignInWithGoogleFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithGoogleFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithGoogleFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md new file mode 100644 index 00000000..2a67c09d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureFirebase/SignInWithGoogleFailureFirebase.md @@ -0,0 +1,30 @@ + + + +# SignInWithGoogleFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithGoogleFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithGoogleFailureFirebase([super.code, super.msg]); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md new file mode 100644 index 00000000..0712ff53 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignInWithGoogleFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithGoogleFailureInterface + + + +**Implementers** + +- [SignInWithGoogleFailureFirebase](../wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md) + + + + + +## Constructors + +[SignInWithGoogleFailureInterface](../wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithGoogleFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md new file mode 100644 index 00000000..16441dda --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithGoogleFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithGoogleFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithGoogleFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md new file mode 100644 index 00000000..9337f2db --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithGoogleFailureInterface/SignInWithGoogleFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithGoogleFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithGoogleFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithGoogleFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md new file mode 100644 index 00000000..5aeb8957 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md @@ -0,0 +1,141 @@ + + + +# SignInWithTwitterFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) +- [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) +- SignInWithTwitterFailureFirebase + +**Implemented types** + +- [SignInWithAppleFailureInterface](../wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md) + + + + + + + +## Constructors + +[SignInWithTwitterFailureFirebase](../wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignInWithTwitterFailureFirebase.fromCode](../wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md new file mode 100644 index 00000000..ce958339 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SignInWithTwitterFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithTwitterFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignInWithTwitterFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md new file mode 100644 index 00000000..8d824501 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureFirebase/SignInWithTwitterFailureFirebase.md @@ -0,0 +1,30 @@ + + + +# SignInWithTwitterFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithTwitterFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignInWithTwitterFailureFirebase([super.code, super.msg]); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md new file mode 100644 index 00000000..3fbd2788 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md @@ -0,0 +1,136 @@ + + + +# SignInWithTwitterFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign in process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignInWithTwitterFailureInterface + + + + + + + + +## Constructors + +[SignInWithTwitterFailureInterface](../wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign in process if a failure occurs. + +[SignInWithTwitterFailureInterface.fromCode](../wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign in process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md new file mode 100644 index 00000000..9d541237 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignInWithTwitterFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithTwitterFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithTwitterFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md new file mode 100644 index 00000000..14919bef --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignInWithTwitterFailureInterface/SignInWithTwitterFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignInWithTwitterFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignInWithTwitterFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign in process if a failure occurs.

+ + + +## Implementation + +```dart +SignInWithTwitterFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase-class.md new file mode 100644 index 00000000..3421331f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SignOutFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign out process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignOutFailureInterface](../wyatt_authentication_bloc/SignOutFailureInterface-class.md) +- SignOutFailureFirebase + + + + + + + + +## Constructors + +[SignOutFailureFirebase](../wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignOutFailureFirebase.fromCode](../wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md new file mode 100644 index 00000000..6cf59631 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.fromCode.md @@ -0,0 +1,30 @@ + + + +# SignOutFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignOutFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignOutFailureFirebase.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md new file mode 100644 index 00000000..c6fc7d7a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureFirebase/SignOutFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignOutFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignOutFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignOutFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface-class.md new file mode 100644 index 00000000..cf527a70 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignOutFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the sign out process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignOutFailureInterface + + + +**Implementers** + +- [SignOutFailureFirebase](../wyatt_authentication_bloc/SignOutFailureFirebase-class.md) + + + + + +## Constructors + +[SignOutFailureInterface](../wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the sign out process if a failure occurs. + +[SignOutFailureInterface.fromCode](../wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the sign out process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md new file mode 100644 index 00000000..bde9935f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.fromCode.md @@ -0,0 +1,31 @@ + + + +# SignOutFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignOutFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the sign out process if a failure occurs.

+ + + +## Implementation + +```dart +SignOutFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md new file mode 100644 index 00000000..a59596a0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignOutFailureInterface/SignOutFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignOutFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignOutFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the sign out process if a failure occurs.

+ + + +## Implementation + +```dart +SignOutFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit-class.md new file mode 100644 index 00000000..b8229ff4 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit-class.md @@ -0,0 +1,316 @@ + + + +# SignUpCubit<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Fully featured sign up cubit.

+

Sufficient in most cases. (Where fine granularity is not required.)

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [BlocBase](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> +- [Cubit](https://pub.dev/documentation/bloc/8.1.0/bloc/Cubit-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> +- [BaseSignUpCubit](../wyatt_authentication_bloc/BaseSignUpCubit-class.md)<Data> +- SignUpCubit + + +**Mixed in types** + +- [SignUpWithEmailPassword](../wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md)<Data> + + + + + + +## Constructors + +[SignUpCubit](../wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md) ({required [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignUpCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignUpWithEmailAndPassword](../wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user creates an account. +_override_ + + + +##### [passwordChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + +_inherited_ + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseSignUpCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signUpWithEmailPassword](../wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Creates a new user with the provided email and password. +_inherited_ + + + +##### [submit](../wyatt_authentication_bloc/BaseSignUpCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignUpCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignUpCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md new file mode 100644 index 00000000..0306f024 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/SignUpCubit.md @@ -0,0 +1,30 @@ + + + +# SignUpCubit<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignUpCubit<Data>({required [AuthenticationRepository](../../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> authenticationRepository}) + + + + + +## Implementation + +```dart +SignUpCubit({required super.authenticationRepository}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md new file mode 100644 index 00000000..e70dfa91 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpCubit/onSignUpWithEmailAndPassword.md @@ -0,0 +1,43 @@ + + + +# onSignUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +FutureOrResult<Data?> onSignUpWithEmailAndPassword +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + +_override_ + + + +

This callback is triggered when a user creates an account.

+

For example: when a user sign up in firebase.

+ + + +## Implementation + +```dart +@override +FutureOrResult onSignUpWithEmailAndPassword( + Result result, + WyattForm form, +) => + const Ok(null); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener-class.md new file mode 100644 index 00000000..ea1477a1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener-class.md @@ -0,0 +1,236 @@ + + + +# SignUpListener<Data> class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Widget that listens and builds a child based on the state of +the sign up cubit

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [DiagnosticableTree](https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html) +- [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) +- [StatelessWidget](https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html) +- SignUpListener + + + + + + + + +## Constructors + +[SignUpListener](../wyatt_authentication_bloc/SignUpListener/SignUpListener.md) ({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + _const_ + + +## Properties + +##### [child](../wyatt_authentication_bloc/SignUpListener/child.md) → [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + + +_final_ + + + +##### [customBuilder](../wyatt_authentication_bloc/SignUpListener/customBuilder.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) state)?) + + + + +_final_ + + + +##### [hashCode](https://api.flutter.dev/flutter/widgets/Widget/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [key](https://api.flutter.dev/flutter/widgets/Widget/key.html) → [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? + + + +Controls how one widget replaces another widget in the tree. +_finalinherited_ + + + +##### [onError](../wyatt_authentication_bloc/SignUpListener/onError.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) + + + + +_final_ + + + +##### [onProgress](../wyatt_authentication_bloc/SignUpListener/onProgress.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [onSuccess](../wyatt_authentication_bloc/SignUpListener/onSuccess.md) → (void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) + + + + +_final_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [build](../wyatt_authentication_bloc/SignUpListener/build.md)([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) + + + +Describes the part of the user interface represented by this widget. +_override_ + + + +##### [createElement](https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html)() [StatelessElement](https://api.flutter.dev/flutter/widgets/StatelessElement-class.html) + + + +Creates a StatelessElement to manage this widget's location in the tree. +_inherited_ + + + +##### [debugDescribeChildren](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html)() [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html)> + + + +Returns a list of DiagnosticsNode objects describing this node's +children. +_inherited_ + + + +##### [debugFillProperties](https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html)([DiagnosticPropertiesBuilder](https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html) properties) void + + + +Add additional properties associated with the node. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toDiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? name, [DiagnosticsTreeStyle](https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html)? style}) [DiagnosticsNode](https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html) + + + +Returns a debug representation of the object that is used by debugging +tools and by DiagnosticsNode.toStringDeep. +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html)({[DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.info}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [toStringDeep](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) prefixLineOne = '', [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? prefixOtherLines, [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a string representation of this node and its descendants. +_inherited_ + + + +##### [toStringShallow](https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html)({[String](https://api.flutter.dev/flutter/dart-core/String-class.html) joiner = ', ', [DiagnosticLevel](https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html) minLevel = DiagnosticLevel.debug}) [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +Returns a one-line detailed description of the object. +_inherited_ + + + +##### [toStringShort](https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A short, textual description of this widget. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/SignUpListener.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/SignUpListener.md new file mode 100644 index 00000000..8eb3409d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/SignUpListener.md @@ -0,0 +1,37 @@ + + + +# SignUpListener<Data> constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignUpListener<Data>({required [Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child, void onProgress([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onSuccess([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?, void onError([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?, void customBuilder([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignUpState](../../wyatt_authentication_bloc/SignUpState-class.md) state)?, [Key](https://api.flutter.dev/flutter/foundation/Key-class.html)? key}) + + + + + +## Implementation + +```dart +const SignUpListener({ + required this.child, + this.onProgress, + this.onSuccess, + this.onError, + this.customBuilder, + super.key, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/build.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/build.md new file mode 100644 index 00000000..8843765f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/build.md @@ -0,0 +1,92 @@ + + + +# build method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) build +([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context) + +_override_ + + + +

Describes the part of the user interface represented by this widget.

+

The framework calls this method when this widget is inserted into the tree +in a given BuildContext and when the dependencies of this widget change +(e.g., an InheritedWidget referenced by this widget changes). This +method can potentially be called in every frame and should not have any side +effects beyond building a widget.

+

The framework replaces the subtree below this widget with the widget +returned by this method, either by updating the existing subtree or by +removing the subtree and inflating a new subtree, depending on whether the +widget returned by this method can update the root of the existing +subtree, as determined by calling Widget.canUpdate.

+

Typically implementations return a newly created constellation of widgets +that are configured with information from this widget's constructor and +from the given BuildContext.

+

The given BuildContext contains information about the location in the +tree at which this widget is being built. For example, the context +provides the set of inherited widgets for this location in the tree. A +given widget might be built with multiple different BuildContext +arguments over time if the widget is moved around the tree or if the +widget is inserted into the tree in multiple places at once.

+

The implementation of this method must only depend on:

+ +

If a widget's build method is to depend on anything else, use a +StatefulWidget instead.

+

See also:

+
    +
  • StatelessWidget, which contains the discussion on performance considerations.
  • +
+ + + +## Implementation + +```dart +@override +Widget build(BuildContext context) => + BlocListener, SignUpState>( + listener: (context, state) { + if (customBuilder != null) { + return customBuilder!(context, state); + } + + if (onSuccess != null && + state.status == FormStatus.submissionSuccess) { + return onSuccess!(context); + } + if (onProgress != null && + state.status == FormStatus.submissionInProgress) { + return onProgress!(context); + } + if (onError != null && + (state.status == FormStatus.submissionCanceled || + state.status == FormStatus.submissionFailure)) { + return onError!(context, state.status, state.errorMessage); + } + }, + child: child, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/child.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/child.md new file mode 100644 index 00000000..53bc3682 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/child.md @@ -0,0 +1,33 @@ + + + +# child property + + + + + *[](https://dart.dev/null-safety)* + + + +[Widget](https://api.flutter.dev/flutter/widgets/Widget-class.html) child + +_final_ + + + + + + +## Implementation + +```dart +final Widget child; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/customBuilder.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/customBuilder.md new file mode 100644 index 00000000..e59261e0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/customBuilder.md @@ -0,0 +1,33 @@ + + + +# customBuilder property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, [SignUpState](../../wyatt_authentication_bloc/SignUpState-class.md) state)?) customBuilder + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context, SignUpState state)? customBuilder; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onError.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onError.md new file mode 100644 index 00000000..ed94a98f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onError.md @@ -0,0 +1,37 @@ + + + +# onError property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context, FormStatus status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage)?) onError + +_final_ + + + + + + +## Implementation + +```dart +final void Function( + BuildContext context, + FormStatus status, + String? errorMessage, +)? onError; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onProgress.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onProgress.md new file mode 100644 index 00000000..4a30ed71 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onProgress.md @@ -0,0 +1,33 @@ + + + +# onProgress property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onProgress + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onProgress; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onSuccess.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onSuccess.md new file mode 100644 index 00000000..4d942f63 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpListener/onSuccess.md @@ -0,0 +1,33 @@ + + + +# onSuccess property + + + + + *[](https://dart.dev/null-safety)* + + + +(void Function([BuildContext](https://api.flutter.dev/flutter/widgets/BuildContext-class.html) context)?) onSuccess + +_final_ + + + + + + +## Implementation + +```dart +final void Function(BuildContext context)? onSuccess; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState-class.md new file mode 100644 index 00000000..d1a945ac --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState-class.md @@ -0,0 +1,179 @@ + + + +# SignUpState class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign up cubit state to manage the form.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- SignUpState + + + + + + + + +## Constructors + +[SignUpState](../wyatt_authentication_bloc/SignUpState/SignUpState.md) ({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + _const_ + + +## Properties + +##### [email](../wyatt_authentication_bloc/SignUpState/email.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [errorMessage](../wyatt_authentication_bloc/SignUpState/errorMessage.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? + + + +Optional error message. +_finalinherited_ + + + +##### [form](../wyatt_authentication_bloc/SignUpState/form.md) → WyattForm + + + +FormData with all inputs, and associated metadata. +_finalinherited_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [password](../wyatt_authentication_bloc/SignUpState/password.md) → FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> + + + + +_read-only_ + + + +##### [props](../wyatt_authentication_bloc/SignUpState/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-only_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [status](../wyatt_authentication_bloc/SignUpState/status.md) → FormStatus + + + +Global status of a form. +_finalinherited_ + + + +##### [stringify](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/stringify.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html)? + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [copyWith](../wyatt_authentication_bloc/SignUpState/copyWith.md)({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) + + + + + + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/SignUpState/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_override_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/SignUpState.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/SignUpState.md new file mode 100644 index 00000000..2225e87b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/SignUpState.md @@ -0,0 +1,34 @@ + + + +# SignUpState constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignUpState({required WyattForm form, FormStatus status = FormStatus.pure, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + +## Implementation + +```dart +const SignUpState({ + required super.form, + super.status = FormStatus.pure, + super.errorMessage, +}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/copyWith.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/copyWith.md new file mode 100644 index 00000000..35561e0b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/copyWith.md @@ -0,0 +1,44 @@ + + + +# copyWith method + + + + + *[](https://dart.dev/null-safety)* + + + + +[SignUpState](../../wyatt_authentication_bloc/SignUpState-class.md) copyWith +({WyattForm? form, FormStatus? status, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage}) + + + + + + + + +## Implementation + +```dart +SignUpState copyWith({ + WyattForm? form, + FormStatus? status, + String? errorMessage, +}) => + SignUpState( + form: form ?? this.form, + status: status ?? this.status, + errorMessage: errorMessage ?? this.errorMessage, + ); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/email.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/email.md new file mode 100644 index 00000000..1ded8043 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/email.md @@ -0,0 +1,37 @@ + + + +# email property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> email + + + + + + + + +## Implementation + +```dart +FormInputValidator get email => + form.validatorOf(AuthFormField.email); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/errorMessage.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/errorMessage.md new file mode 100644 index 00000000..d0856deb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/errorMessage.md @@ -0,0 +1,34 @@ + + + +# errorMessage property + + + + + *[](https://dart.dev/null-safety)* + + + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? errorMessage + +_finalinherited_ + + + +

Optional error message.

+ + + +## Implementation + +```dart +final String? errorMessage; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/form.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/form.md new file mode 100644 index 00000000..d3f2da76 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/form.md @@ -0,0 +1,34 @@ + + + +# form property + + + + + *[](https://dart.dev/null-safety)* + + + +WyattForm form + +_finalinherited_ + + + +

FormData with all inputs, and associated metadata.

+ + + +## Implementation + +```dart +final WyattForm form; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/password.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/password.md new file mode 100644 index 00000000..77938106 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/password.md @@ -0,0 +1,37 @@ + + + +# password property + + + + + *[](https://dart.dev/null-safety)* + + + + + +FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError> password + + + + + + + + +## Implementation + +```dart +FormInputValidator get password => + form.validatorOf(AuthFormField.password); +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/props.md new file mode 100644 index 00000000..2b5a46b8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + + + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [email, password, status, form]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/status.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/status.md new file mode 100644 index 00000000..644a9f10 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/status.md @@ -0,0 +1,34 @@ + + + +# status property + + + + + *[](https://dart.dev/null-safety)* + + + +FormStatus status + +_finalinherited_ + + + +

Global status of a form.

+ + + +## Implementation + +```dart +final FormStatus status; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/toString.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/toString.md new file mode 100644 index 00000000..e53f76d6 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpState/toString.md @@ -0,0 +1,50 @@ + + + +# toString method + + + + + *[](https://dart.dev/null-safety)* + + + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) + +[String](https://api.flutter.dev/flutter/dart-core/String-class.html) toString +() + +_override_ + + + +

A string representation of this object.

+

Some classes have a default textual representation, +often paired with a static parse function (like int.parse). +These classes will provide the textual representation as +their string representation.

+

Other classes have no meaningful textual representation +that a program will care about. +Such classes will typically override toString to provide +useful information when inspecting the object, +mainly for debugging or logging.

+ + + +## Implementation + +```dart +@override +@override +String toString() => 'SignUpState(status: ${status.name} ' + '${(errorMessage != null) ? " [$errorMessage]" : ""}, $form)'; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md new file mode 100644 index 00000000..0b725844 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# SignUpWithEmailAndPasswordFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown if during the sign up process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [SignUpWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md) +- SignUpWithEmailAndPasswordFailureFirebase + + + + + + + + +## Constructors + +[SignUpWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[SignUpWithEmailAndPasswordFailureFirebase.fromCode](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md new file mode 100644 index 00000000..a88070e0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.fromCode.md @@ -0,0 +1,52 @@ + + + +# SignUpWithEmailAndPasswordFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignUpWithEmailAndPasswordFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +SignUpWithEmailAndPasswordFailureFirebase.fromCode(String code) + : super.fromCode(code) { + switch (code) { + case 'invalid-email': + msg = 'The email address is badly formatted.'; + break; + case 'user-disabled': + msg = 'This user has been disabled. Please contact support for help.'; + break; + case 'email-already-in-use': + msg = 'An account already exists for that email.'; + break; + case 'operation-not-allowed': + msg = 'Operation is not allowed. Please contact support.'; + break; + case 'weak-password': + msg = 'Please enter a stronger password.'; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md new file mode 100644 index 00000000..3c589850 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase/SignUpWithEmailAndPasswordFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# SignUpWithEmailAndPasswordFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignUpWithEmailAndPasswordFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +SignUpWithEmailAndPasswordFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md new file mode 100644 index 00000000..934c07dd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# SignUpWithEmailAndPasswordFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown if during the sign up process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- SignUpWithEmailAndPasswordFailureInterface + + + +**Implementers** + +- [SignUpWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md) + + + + + +## Constructors + +[SignUpWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown if during the sign up process if a failure occurs. + +[SignUpWithEmailAndPasswordFailureInterface.fromCode](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown if during the sign up process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md new file mode 100644 index 00000000..4eba5121 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.fromCode.md @@ -0,0 +1,32 @@ + + + +# SignUpWithEmailAndPasswordFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignUpWithEmailAndPasswordFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown if during the sign up process if a failure occurs.

+ + + +## Implementation + +```dart +SignUpWithEmailAndPasswordFailureInterface.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md new file mode 100644 index 00000000..105e574d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface/SignUpWithEmailAndPasswordFailureInterface.md @@ -0,0 +1,31 @@ + + + +# SignUpWithEmailAndPasswordFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +SignUpWithEmailAndPasswordFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown if during the sign up process if a failure occurs.

+ + + +## Implementation + +```dart +SignUpWithEmailAndPasswordFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md new file mode 100644 index 00000000..220af3ad --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md @@ -0,0 +1,305 @@ + + + +# SignUpWithEmailPassword<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Sign up mixin.

+

Allows the user to register with an email and a password.

+

Gives access to the signUpWithEmailPassword method and +onSignUpWithEmailAndPassword callback.

+ + +**Superclass Constraints** + +- [BaseSignUpCubit](../wyatt_authentication_bloc/BaseSignUpCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [SignUpCubit](../wyatt_authentication_bloc/SignUpCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseSignUpCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseSignUpCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseSignUpCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseSignUpCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[SignUpState](../wyatt_authentication_bloc/SignUpState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onSignUpWithEmailAndPassword](../wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user creates an account. + + + + +##### [passwordChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. + + + + +##### [reset](../wyatt_authentication_bloc/BaseSignUpCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [signUpWithEmailPassword](../wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Creates a new user with the provided email and password. + + + + +##### [submit](../wyatt_authentication_bloc/BaseSignUpCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseSignUpCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [validate](../wyatt_authentication_bloc/BaseSignUpCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md new file mode 100644 index 00000000..85e7cc16 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailChanged.md @@ -0,0 +1,47 @@ + + + +# emailChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void emailChanged(String value) { + final emailValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.email) + .runtimeType; + assert( + emailValidatorType == Email, + 'Use emailCustomChanged(...) with validator $emailValidatorType', + ); + + final Email email = Email.dirty(value); + dataChanged(AuthFormField.email, email); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md new file mode 100644 index 00000000..8915ba03 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/emailCustomChanged.md @@ -0,0 +1,42 @@ + + + +# emailCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as emailChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void emailCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.email, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md new file mode 100644 index 00000000..cd7c1a80 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/onSignUpWithEmailAndPassword.md @@ -0,0 +1,40 @@ + + + +# onSignUpWithEmailAndPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onSignUpWithEmailAndPassword +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when a user creates an account.

+

For example: when a user sign up in firebase.

+ + + +## Implementation + +```dart +FutureOrResult onSignUpWithEmailAndPassword( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md new file mode 100644 index 00000000..8db9fda0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordChanged.md @@ -0,0 +1,46 @@ + + + +# passwordChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void passwordChanged(String value) { + final passwordValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.password) + .runtimeType; + assert( + passwordValidatorType == Password, + 'Use passwordCustomChanged(...) with validator $passwordValidatorType', + ); + final Password password = Password.dirty(value); + dataChanged(AuthFormField.password, password); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md new file mode 100644 index 00000000..5e3b39bd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/passwordCustomChanged.md @@ -0,0 +1,42 @@ + + + +# passwordCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as passwordChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void passwordCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.password, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md new file mode 100644 index 00000000..0fd593ac --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignUpWithEmailPassword/signUpWithEmailPassword.md @@ -0,0 +1,97 @@ + + + +# signUpWithEmailPassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> signUpWithEmailPassword +() + + + + + +

Creates a new user with the provided email and password.

+

Returns the newly created user's unique identifier.

+

Throws a SignUpWithEmailAndPasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr signUpWithEmailPassword() async { + if (!state.status.isValidated) { + return; + } + + final form = formRepository.accessForm(formName); + emit(SignUpState(form: form, status: FormStatus.submissionInProgress)); + + final email = form.valueOf(AuthFormField.email); + final password = form.valueOf(AuthFormField.password); + + if (email.isNullOrEmpty || password.isNullOrEmpty) { + emit( + SignUpState( + form: form, + errorMessage: 'An error occured while retrieving data from the form.', + status: FormStatus.submissionFailure, + ), + ); + } + + return CustomRoutine( + routine: () => authenticationRepository.signUpWithEmailAndPassword( + email: email!, + password: password!, + ), + attachedLogic: (routineResult) => onSignUpWithEmailAndPassword( + routineResult, + form, + ), + onError: (error) { + emit( + SignUpState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: SignedUpEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + SignUpState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent-class.md new file mode 100644 index 00000000..c3b76749 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent-class.md @@ -0,0 +1,135 @@ + + + +# SignedInEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user authenticates (from not logged in to logged in).

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- SignedInEvent + + + + + + + + +## Constructors + +[SignedInEvent](../wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/SignedInEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/SignedInEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md new file mode 100644 index 00000000..cdc4ad73 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/SignedInEvent.md @@ -0,0 +1,30 @@ + + + +# SignedInEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignedInEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const SignedInEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent-class.md new file mode 100644 index 00000000..fd2ab1bb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent-class.md @@ -0,0 +1,135 @@ + + + +# SignedInFromCacheEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user authenticates automatically (from not logged in to logged in).

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- SignedInFromCacheEvent + + + + + + + + +## Constructors + +[SignedInFromCacheEvent](../wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/SignedInFromCacheEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/SignedInFromCacheEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md new file mode 100644 index 00000000..99d1d86f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/SignedInFromCacheEvent.md @@ -0,0 +1,30 @@ + + + +# SignedInFromCacheEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignedInFromCacheEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const SignedInFromCacheEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedInFromCacheEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent-class.md new file mode 100644 index 00000000..0075e9eb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent-class.md @@ -0,0 +1,126 @@ + + + +# SignedOutEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user logs out.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- SignedOutEvent + + + + + + + + +## Constructors + +[SignedOutEvent](../wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md) () + + _const_ + + +## Properties + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/AuthenticationChangeEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md new file mode 100644 index 00000000..734b4c5d --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedOutEvent/SignedOutEvent.md @@ -0,0 +1,30 @@ + + + +# SignedOutEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignedOutEvent() + + + + + +## Implementation + +```dart +const SignedOutEvent(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent-class.md new file mode 100644 index 00000000..c53aeb32 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent-class.md @@ -0,0 +1,135 @@ + + + +# SignedUpEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user creates an account.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- SignedUpEvent + + + + + + + + +## Constructors + +[SignedUpEvent](../wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/SignedUpEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/SignedUpEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md new file mode 100644 index 00000000..4a68b5f5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/SignedUpEvent.md @@ -0,0 +1,30 @@ + + + +# SignedUpEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +SignedUpEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const SignedUpEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/SignedUpEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md new file mode 100644 index 00000000..1b5a7161 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md @@ -0,0 +1,126 @@ + + + +# UnknownAuthenticationEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When a user's login status is unknown.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- UnknownAuthenticationEvent + + + + + + + + +## Constructors + +[UnknownAuthenticationEvent](../wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md) () + + _const_ + + +## Properties + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/AuthenticationChangeEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md new file mode 100644 index 00000000..6e9d242a --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UnknownAuthenticationEvent/UnknownAuthenticationEvent.md @@ -0,0 +1,30 @@ + + + +# UnknownAuthenticationEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +UnknownAuthenticationEvent() + + + + + +## Implementation + +```dart +const UnknownAuthenticationEvent(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail-mixin.md new file mode 100644 index 00000000..0673d44e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail-mixin.md @@ -0,0 +1,287 @@ + + + +# UpdateEmail<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Edit account mixin.

+

Allows the user to edit his email

+

Gives access to the updateEmail method and +onEmailUpdated callback.

+ + +**Superclass Constraints** + +- [BaseEditAccountCubit](../wyatt_authentication_bloc/BaseEditAccountCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [EditAccountCubit](../wyatt_authentication_bloc/EditAccountCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseEditAccountCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emailChanged](../wyatt_authentication_bloc/UpdateEmail/emailChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [emailCustomChanged](../wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as emailChanged but with a custom Validator. + + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onEmailUpdated](../wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when user updates his email + + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [reset](../wyatt_authentication_bloc/BaseEditAccountCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [submit](../wyatt_authentication_bloc/BaseEditAccountCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseEditAccountCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [updateEmail](../wyatt_authentication_bloc/UpdateEmail/updateEmail.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Update or add email. + + + + +##### [validate](../wyatt_authentication_bloc/BaseEditAccountCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailChanged.md new file mode 100644 index 00000000..85e7cc16 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailChanged.md @@ -0,0 +1,47 @@ + + + +# emailChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void emailChanged(String value) { + final emailValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.email) + .runtimeType; + assert( + emailValidatorType == Email, + 'Use emailCustomChanged(...) with validator $emailValidatorType', + ); + + final Email email = Email.dirty(value); + dataChanged(AuthFormField.email, email); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md new file mode 100644 index 00000000..7ec149cb --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/emailCustomChanged.md @@ -0,0 +1,42 @@ + + + +# emailCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void emailCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as emailChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void emailCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.email, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md new file mode 100644 index 00000000..7e3757f2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/onEmailUpdated.md @@ -0,0 +1,39 @@ + + + +# onEmailUpdated method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onEmailUpdated +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when user updates his email

+ + + +## Implementation + +```dart +FutureOrResult onEmailUpdated( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/updateEmail.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/updateEmail.md new file mode 100644 index 00000000..7c814f89 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmail/updateEmail.md @@ -0,0 +1,103 @@ + + + +# updateEmail method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> updateEmail +() + + + + + +

Update or add email.

+

Throws a UpdateEmailFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr updateEmail() async { + if (state.status.isSubmissionInProgress) { + return; + } + + if (!state.status.isValidated) { + return; + } + + final form = formRepository.accessForm(formName); + emit( + EditAccountState( + form: form, + status: FormStatus.submissionInProgress, + ), + ); + + final email = form.valueOf(AuthFormField.email); + + if (email.isNullOrEmpty) { + emit( + EditAccountState( + form: form, + errorMessage: 'An error occured while retrieving data from the form.', + status: FormStatus.submissionFailure, + ), + ); + } + + return CustomRoutine( + routine: () => authenticationRepository.updateEmail( + email: email!, + ), + attachedLogic: (routineResult) => onEmailUpdated( + routineResult, + form, + ), + onError: (error) { + emit( + EditAccountState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: UpdatedEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + EditAccountState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md new file mode 100644 index 00000000..aa440929 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# UpdateEmailFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the email modification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [UpdateEmailFailureInterface](../wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md) +- UpdateEmailFailureFirebase + + + + + + + + +## Constructors + +[UpdateEmailFailureFirebase](../wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[UpdateEmailFailureFirebase.fromCode](../wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md new file mode 100644 index 00000000..d9c01e20 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.fromCode.md @@ -0,0 +1,45 @@ + + + +# UpdateEmailFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdateEmailFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +UpdateEmailFailureFirebase.fromCode(String code) : super.fromCode(code) { + switch (code) { + case 'invalid-email': + msg = 'Email is not valid or badly formatted.'; + break; + case 'email-already-in-use': + msg = 'An account already exists for that email.'; + break; + case 'requires-recent-login': + msg = "User's last sign-in time does not meet the security threshold."; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md new file mode 100644 index 00000000..7c7e5fe5 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureFirebase/UpdateEmailFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# UpdateEmailFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdateEmailFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +UpdateEmailFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md new file mode 100644 index 00000000..29d54938 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# UpdateEmailFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the email modification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- UpdateEmailFailureInterface + + + +**Implementers** + +- [UpdateEmailFailureFirebase](../wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md) + + + + + +## Constructors + +[UpdateEmailFailureInterface](../wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[UpdateEmailFailureInterface.fromCode](../wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md new file mode 100644 index 00000000..656a17b9 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.fromCode.md @@ -0,0 +1,30 @@ + + + +# UpdateEmailFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdateEmailFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +UpdateEmailFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md new file mode 100644 index 00000000..ffa1fd03 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdateEmailFailureInterface/UpdateEmailFailureInterface.md @@ -0,0 +1,30 @@ + + + +# UpdateEmailFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdateEmailFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +UpdateEmailFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword-mixin.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword-mixin.md new file mode 100644 index 00000000..cea1271f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword-mixin.md @@ -0,0 +1,287 @@ + + + +# UpdatePassword<Data> mixin + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Edit account mixin.

+

Allows the user to edit his password

+

Gives access to the updatePassword method and +onPasswordUpdated callback.

+ + +**Superclass Constraints** + +- [BaseEditAccountCubit](../wyatt_authentication_bloc/BaseEditAccountCubit-class.md)<Data> + + + + +**Mixin Applications** + +- [EditAccountCubit](../wyatt_authentication_bloc/EditAccountCubit-class.md) + + + +## Properties + +##### [authenticationRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/authenticationRepository.md) → [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + +_finalinherited_ + + + +##### [formName](../wyatt_authentication_bloc/BaseEditAccountCubit/formName.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [formRepository](../wyatt_authentication_bloc/BaseEditAccountCubit/formRepository.md) → FormRepository + + + + +_read-onlyinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [isClosed](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/isClosed.html) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +Whether the bloc is closed. +_read-onlyinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [state](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/state.html) → [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + +The current state. +_read-onlyinherited_ + + + +##### [stream](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/stream.html) → [Stream](https://api.flutter.dev/flutter/dart-async/Stream-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> + + + +The current stream of states. +_read-onlyinherited_ + + + + + +## Methods + +##### [addError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/addError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [[StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html)? stackTrace]) void + + + +Reports an error which triggers onError with an optional StackTrace. +_inherited_ + + + +##### [close](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/close.html)() [Future](https://api.flutter.dev/flutter/dart-async/Future-class.html)<void> + + + +Closes the instance. +This method should be called when the instance is no longer needed. +Once close is called, the instance can no longer be used. +_inherited_ + + + +##### [dataChanged](../wyatt_authentication_bloc/BaseEditAccountCubit/dataChanged.md)<Value>([String](https://api.flutter.dev/flutter/dart-core/String-class.html) key, FormInputValidator<Value, ValidationError> dirtyValue) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [emit](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/emit.html)([EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) state) void + + + +Updates the state to the provided state. +emit does nothing if the state being emitted +is equal to the current state. +_inherited_ + + + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [onChange](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onChange.html)([Change](https://pub.dev/documentation/bloc/8.1.0/bloc/Change-class.html)<[EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md)> change) void + + + +Called whenever a change occurs with the given change. +A change occurs when a new state is emitted. +onChange is called before the state of the cubit is updated. +onChange is a great spot to add logging/analytics for a specific cubit. +_inherited_ + + + +##### [onError](https://pub.dev/documentation/bloc/8.1.0/bloc/BlocBase/onError.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) error, [StackTrace](https://api.flutter.dev/flutter/dart-core/StackTrace-class.html) stackTrace) void + + + +Called whenever an error occurs and notifies BlocObserver.onError. +_inherited_ + + + +##### [onPasswordUpdated](../wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md)(Result<[Account](../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) FutureOrResult<Data?> + + + +This callback is triggered when a user edits his password. + + + + +##### [passwordChanged](../wyatt_authentication_bloc/UpdatePassword/passwordChanged.md)([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) void + + + + + + + + +##### [passwordCustomChanged](../wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md)<Validator extends FormInputValidator<[String](https://api.flutter.dev/flutter/dart-core/String-class.html)?, ValidationError>>(Validator validator) void + + + +Same as passwordChanged but with a custom Validator. + + + + +##### [reset](../wyatt_authentication_bloc/BaseEditAccountCubit/reset.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [submit](../wyatt_authentication_bloc/BaseEditAccountCubit/submit.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [toString](https://api.flutter.dev/flutter/dart-core/Object/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + +##### [update](../wyatt_authentication_bloc/BaseEditAccountCubit/update.md)(WyattForm form, {SetOperation operation = SetOperation.replace}) [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + +##### [updatePassword](../wyatt_authentication_bloc/UpdatePassword/updatePassword.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + +Update or add password. + + + + +##### [validate](../wyatt_authentication_bloc/BaseEditAccountCubit/validate.md)() [FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> + + + + +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md new file mode 100644 index 00000000..b0354384 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/onPasswordUpdated.md @@ -0,0 +1,39 @@ + + + +# onPasswordUpdated method + + + + + *[](https://dart.dev/null-safety)* + + + + +FutureOrResult<Data?> onPasswordUpdated +(Result<[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result, WyattForm form) + + + + + +

This callback is triggered when a user edits his password.

+ + + +## Implementation + +```dart +FutureOrResult onPasswordUpdated( + Result result, + WyattForm form, +); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordChanged.md new file mode 100644 index 00000000..8db9fda0 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordChanged.md @@ -0,0 +1,46 @@ + + + +# passwordChanged method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordChanged +([String](https://api.flutter.dev/flutter/dart-core/String-class.html) value) + + + + + + + + +## Implementation + +```dart +void passwordChanged(String value) { + final passwordValidatorType = formRepository + .accessForm(formName) + .validatorOf(AuthFormField.password) + .runtimeType; + assert( + passwordValidatorType == Password, + 'Use passwordCustomChanged(...) with validator $passwordValidatorType', + ); + final Password password = Password.dirty(value); + dataChanged(AuthFormField.password, password); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md new file mode 100644 index 00000000..2cb08454 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/passwordCustomChanged.md @@ -0,0 +1,42 @@ + + + +# passwordCustomChanged<Validator extends FormInputValidator<String?, ValidationError>> method + + + + + *[](https://dart.dev/null-safety)* + + + + +void passwordCustomChanged +<Validator extends FormInputValidator<String?, ValidationError>>(Validator validator) + + + + + +

Same as passwordChanged but with a custom Validator.

+

Sort of short hand for dataChanged.

+ + + +## Implementation + +```dart +void passwordCustomChanged< + Validator extends FormInputValidator>( + Validator validator, +) { + dataChanged(AuthFormField.password, validator); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/updatePassword.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/updatePassword.md new file mode 100644 index 00000000..fae26194 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePassword/updatePassword.md @@ -0,0 +1,103 @@ + + + +# updatePassword method + + + + + *[](https://dart.dev/null-safety)* + + + + +[FutureOr](https://api.flutter.dev/flutter/dart-async/FutureOr-class.html)<void> updatePassword +() + + + + + +

Update or add password.

+

Throws a UpdatePasswordFailureInterface if +an exception occurs.

+ + + +## Implementation + +```dart +FutureOr updatePassword() async { + if (state.status.isSubmissionInProgress) { + return; + } + + if (!state.status.isValidated) { + return; + } + + final form = formRepository.accessForm(formName); + emit( + EditAccountState( + form: form, + status: FormStatus.submissionInProgress, + ), + ); + + final password = form.valueOf(AuthFormField.password); + + if (password.isNullOrEmpty) { + emit( + EditAccountState( + form: form, + errorMessage: 'An error occured while retrieving data from the form.', + status: FormStatus.submissionFailure, + ), + ); + } + + return CustomRoutine( + routine: () => authenticationRepository.updatePassword( + password: password!, + ), + attachedLogic: (routineResult) => onPasswordUpdated( + routineResult, + form, + ), + onError: (error) { + emit( + EditAccountState( + form: form, + errorMessage: error.message, + status: FormStatus.submissionFailure, + ), + ); + addError(error); + }, + onSuccess: (account, data) { + authenticationRepository.addSession( + SessionWrapper( + event: SignedInEvent(account: account), + session: Session( + account: account, + data: data, + ), + ), + ); + emit( + EditAccountState( + form: form, + status: FormStatus.submissionSuccess, + ), + ); + }, + ).call(); +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md new file mode 100644 index 00000000..75e3bd3b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# UpdatePasswordFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password modification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [UpdatePasswordFailureInterface](../wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md) +- UpdatePasswordFailureFirebase + + + + + + + + +## Constructors + +[UpdatePasswordFailureFirebase](../wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[UpdatePasswordFailureFirebase.fromCode](../wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md new file mode 100644 index 00000000..1aa2ae7c --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.fromCode.md @@ -0,0 +1,42 @@ + + + +# UpdatePasswordFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdatePasswordFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +UpdatePasswordFailureFirebase.fromCode(String code) : super.fromCode(code) { + switch (code) { + case 'weak-password': + msg = 'Please enter a stronger password.'; + break; + case 'requires-recent-login': + msg = "User's last sign-in time does not meet the security threshold."; + break; + default: + this.code = 'unknown'; + msg = 'An unknown error occurred.'; + } +} +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md new file mode 100644 index 00000000..0f38d6b8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureFirebase/UpdatePasswordFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# UpdatePasswordFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdatePasswordFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +UpdatePasswordFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md new file mode 100644 index 00000000..d7a95cd8 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# UpdatePasswordFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password modification process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- UpdatePasswordFailureInterface + + + +**Implementers** + +- [UpdatePasswordFailureFirebase](../wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md) + + + + + +## Constructors + +[UpdatePasswordFailureInterface](../wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + +[UpdatePasswordFailureInterface.fromCode](../wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md new file mode 100644 index 00000000..d459010f --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.fromCode.md @@ -0,0 +1,30 @@ + + + +# UpdatePasswordFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdatePasswordFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +UpdatePasswordFailureInterface.fromCode(super.code) : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md new file mode 100644 index 00000000..bbba2c50 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatePasswordFailureInterface/UpdatePasswordFailureInterface.md @@ -0,0 +1,30 @@ + + + +# UpdatePasswordFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +UpdatePasswordFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + + + + +## Implementation + +```dart +UpdatePasswordFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent-class.md new file mode 100644 index 00000000..1097b97b --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent-class.md @@ -0,0 +1,135 @@ + + + +# UpdatedEvent class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

When the user's account has been updated.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [Equatable](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable-class.html) +- [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) +- UpdatedEvent + + + + + + + + +## Constructors + +[UpdatedEvent](../wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md) ({required [Account](../wyatt_authentication_bloc/Account-class.md) account}) + + _const_ + + +## Properties + +##### [account](../wyatt_authentication_bloc/UpdatedEvent/account.md) → [Account](../wyatt_authentication_bloc/Account-class.md) + + + + +_final_ + + + +##### [hashCode](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [props](../wyatt_authentication_bloc/UpdatedEvent/props.md) → [List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> + + + +The list of properties that will be used to determine whether +two instances are equal. +_read-onlyoverride_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + +##### [stringify](../wyatt_authentication_bloc/AuthenticationChangeEvent/stringify.md) → [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +If set to true, the toString method will be overridden to output +this instance's props. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/toString.html)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://pub.dev/documentation/equatable/2.0.5/equatable/Equatable/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md new file mode 100644 index 00000000..cb29ebfe --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/UpdatedEvent.md @@ -0,0 +1,30 @@ + + + +# UpdatedEvent constructor + + + + + *[](https://dart.dev/null-safety)* + + +const +UpdatedEvent({required [Account](../../wyatt_authentication_bloc/Account-class.md) account}) + + + + + +## Implementation + +```dart +const UpdatedEvent({required this.account}); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/account.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/account.md new file mode 100644 index 00000000..671e197e --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/account.md @@ -0,0 +1,33 @@ + + + +# account property + + + + + *[](https://dart.dev/null-safety)* + + + +[Account](../../wyatt_authentication_bloc/Account-class.md) account + +_final_ + + + + + + +## Implementation + +```dart +final Account account; +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/props.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/props.md new file mode 100644 index 00000000..fbde09d1 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/UpdatedEvent/props.md @@ -0,0 +1,42 @@ + + + +# props property + + + + + *[](https://dart.dev/null-safety)* + + + + + +**Annotations** + +- @[override](https://api.flutter.dev/flutter/dart-core/override-constant.html) +[List](https://api.flutter.dev/flutter/dart-core/List-class.html)<[Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)?> props + +_override_ + + + +

The list of properties that will be used to determine whether +two instances are equal.

+ + + +## Implementation + +```dart +@override +List get props => [account]; +``` + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md new file mode 100644 index 00000000..3a40b1bd --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md @@ -0,0 +1,137 @@ + + + +# VerifyPasswordResetCodeFailureFirebase class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- [VerifyPasswordResetCodeFailureInterface](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md) +- VerifyPasswordResetCodeFailureFirebase + + + + + + + + +## Constructors + +[VerifyPasswordResetCodeFailureFirebase](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md) ([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + +[VerifyPasswordResetCodeFailureFirebase.fromCode](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md new file mode 100644 index 00000000..7b721f98 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.fromCode.md @@ -0,0 +1,31 @@ + + + +# VerifyPasswordResetCodeFailureFirebase.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +VerifyPasswordResetCodeFailureFirebase.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + + + + +## Implementation + +```dart +VerifyPasswordResetCodeFailureFirebase.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md new file mode 100644 index 00000000..22f49092 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase/VerifyPasswordResetCodeFailureFirebase.md @@ -0,0 +1,31 @@ + + + +# VerifyPasswordResetCodeFailureFirebase constructor + + + + + *[](https://dart.dev/null-safety)* + + + +VerifyPasswordResetCodeFailureFirebase([[String](https://api.flutter.dev/flutter/dart-core/String-class.html)? code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html)? msg]) + + + + + +## Implementation + +```dart +VerifyPasswordResetCodeFailureFirebase([String? code, String? msg]) + : super(code ?? 'unknown', msg ?? 'An unknown error occurred.'); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md new file mode 100644 index 00000000..47e2e9b2 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md @@ -0,0 +1,139 @@ + + + +# VerifyPasswordResetCodeFailureInterface class + + + + + + + *[](https://dart.dev/null-safety)* + + + +

Thrown during the password reset process if a failure occurs.

+ + + +**Inheritance** + +- [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) +- [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) +- VerifyPasswordResetCodeFailureInterface + + + +**Implementers** + +- [VerifyPasswordResetCodeFailureFirebase](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md) + + + + + +## Constructors + +[VerifyPasswordResetCodeFailureInterface](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + +Thrown during the password reset process if a failure occurs. + +[VerifyPasswordResetCodeFailureInterface.fromCode](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md) ([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + +Thrown during the password reset process if a failure occurs. + + +## Properties + +##### [code](../wyatt_authentication_bloc/AuthenticationFailureInterface/code.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [hashCode](https://api.flutter.dev/flutter/dart-core/Object/hashCode.html) → [int](https://api.flutter.dev/flutter/dart-core/int-class.html) + + + +The hash code for this object. +_read-onlyinherited_ + + + +##### [message](../wyatt_authentication_bloc/AuthenticationFailureInterface/message.md) → [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read-onlyinherited_ + + + +##### [msg](../wyatt_authentication_bloc/AuthenticationFailureInterface/msg.md) ↔ [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + + +_read / writeinherited_ + + + +##### [runtimeType](https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html) → [Type](https://api.flutter.dev/flutter/dart-core/Type-class.html) + + + +A representation of the runtime type of the object. +_read-onlyinherited_ + + + + + +## Methods + +##### [noSuchMethod](https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html)([Invocation](https://api.flutter.dev/flutter/dart-core/Invocation-class.html) invocation) dynamic + + + +Invoked when a non-existent method or property is accessed. +_inherited_ + + + +##### [toString](../wyatt_authentication_bloc/AuthenticationFailureInterface/toString.md)() [String](https://api.flutter.dev/flutter/dart-core/String-class.html) + + + +A string representation of this object. +_inherited_ + + + + + +## Operators + +##### [operator ==](https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html)([Object](https://api.flutter.dev/flutter/dart-core/Object-class.html) other) [bool](https://api.flutter.dev/flutter/dart-core/bool-class.html) + + + +The equality operator. +_inherited_ + + + + + + + + + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md new file mode 100644 index 00000000..ed57be88 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.fromCode.md @@ -0,0 +1,32 @@ + + + +# VerifyPasswordResetCodeFailureInterface.fromCode constructor + + + + + *[](https://dart.dev/null-safety)* + + + +VerifyPasswordResetCodeFailureInterface.fromCode([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +VerifyPasswordResetCodeFailureInterface.fromCode(super.code) + : super.fromCode(); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md new file mode 100644 index 00000000..e03ad3b7 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface/VerifyPasswordResetCodeFailureInterface.md @@ -0,0 +1,31 @@ + + + +# VerifyPasswordResetCodeFailureInterface constructor + + + + + *[](https://dart.dev/null-safety)* + + + +VerifyPasswordResetCodeFailureInterface([String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, [String](https://api.flutter.dev/flutter/dart-core/String-class.html) msg) + + +

Thrown during the password reset process if a failure occurs.

+ + + +## Implementation + +```dart +VerifyPasswordResetCodeFailureInterface(super.code, super.msg); +``` + + + + + + + diff --git a/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/wyatt_authentication_bloc-library.md b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/wyatt_authentication_bloc-library.md new file mode 100644 index 00000000..46d7f563 --- /dev/null +++ b/packages/wyatt_authentication_bloc/doc/api/wyatt_authentication_bloc/wyatt_authentication_bloc-library.md @@ -0,0 +1,727 @@ + + + + +# wyatt_authentication_bloc library + + + + + + + *[](https://dart.dev/null-safety)* + + + +

An authentication library for BLoC.

+ + +## Classes + +##### [Account](../wyatt_authentication_bloc/Account-class.md) + + + +Represents a user Account in the +various identity provisioning systems. + + +##### [AccountModel](../wyatt_authentication_bloc/AccountModel-class.md) + + + +Account Model to parse Firebase User data + + +##### [AuthenticationBuilder](../wyatt_authentication_bloc/AuthenticationBuilder-class.md)<Data> + + + + + + +##### [AuthenticationChangeEvent](../wyatt_authentication_bloc/AuthenticationChangeEvent-class.md) + + + +Represents an event initiated by a change in +the user's authentication status. + + +##### [AuthenticationCubit](../wyatt_authentication_bloc/AuthenticationCubit-class.md)<Data> + + + +Abstract authentication cubit class needs to be implemented in application. + + +##### [AuthenticationFirebaseDataSourceImpl](../wyatt_authentication_bloc/AuthenticationFirebaseDataSourceImpl-class.md)<Data> + + + + + + +##### [AuthenticationRemoteDataSource](../wyatt_authentication_bloc/AuthenticationRemoteDataSource-class.md)<Data> + + + +Is responsible for abstracting the provenance of the data. + + +##### [AuthenticationRepository](../wyatt_authentication_bloc/AuthenticationRepository-class.md)<Data> + + + + + + +##### [AuthenticationRepositoryImpl](../wyatt_authentication_bloc/AuthenticationRepositoryImpl-class.md)<Data extends [Object](https://api.flutter.dev/flutter/dart-core/Object-class.html)> + + + + + + +##### [AuthenticationState](../wyatt_authentication_bloc/AuthenticationState-class.md)<Data> + + + + + + +##### [AuthFormField](../wyatt_authentication_bloc/AuthFormField-class.md) + + + +Default authentication form fields name + + +##### [AuthFormName](../wyatt_authentication_bloc/AuthFormName-class.md) + + + +Default authentication form name + + +##### [BaseEditAccountCubit](../wyatt_authentication_bloc/BaseEditAccountCubit-class.md)<Data> + + + +Abstract edit account cubit useful for implementing a cubit with fine +granularity by adding only the required mixins. + + +##### [BaseSignInCubit](../wyatt_authentication_bloc/BaseSignInCubit-class.md)<Data> + + + +Abstract sign in cubit useful for implementing a cubit with fine +granularity by adding only the required mixins. + + +##### [BaseSignUpCubit](../wyatt_authentication_bloc/BaseSignUpCubit-class.md)<Data> + + + +Abstract sign up cubit useful for implementing a cubit with fine +granularity by adding only the required mixins. + + +##### [CustomRoutine](../wyatt_authentication_bloc/CustomRoutine-class.md)<R, Data> + + + +Calls on each cubit action of this package. + + +##### [DeletedEvent](../wyatt_authentication_bloc/DeletedEvent-class.md) + + + +When a user deleted his account. + + +##### [EditAccountCubit](../wyatt_authentication_bloc/EditAccountCubit-class.md)<Data> + + + +Fully featured edit account cubit. + + +##### [EditAccountListener](../wyatt_authentication_bloc/EditAccountListener-class.md)<Data> + + + +Widget that listens and builds a child based on the state of +the edit account cubit + + +##### [EditAccountState](../wyatt_authentication_bloc/EditAccountState-class.md) + + + +Edit account cubit state to manage the form. + + +##### [EmailVerificationBuilder](../wyatt_authentication_bloc/EmailVerificationBuilder-class.md)<Extra> + + + + + + +##### [EmailVerificationCubit](../wyatt_authentication_bloc/EmailVerificationCubit-class.md)<Data> + + + + + + +##### [EmailVerificationState](../wyatt_authentication_bloc/EmailVerificationState-class.md) + + + + + + +##### [PasswordResetCubit](../wyatt_authentication_bloc/PasswordResetCubit-class.md)<Extra> + + + +Cubit that allows user to reset his password + + +##### [PasswordResetState](../wyatt_authentication_bloc/PasswordResetState-class.md) + + + + + + +##### [ReauthenticatedEvent](../wyatt_authentication_bloc/ReauthenticatedEvent-class.md) + + + +When a user re-authenticates (from the logged in state to the +logged in state with a different and fresh access +token and a different login time) + + +##### [RefreshedEvent](../wyatt_authentication_bloc/RefreshedEvent-class.md) + + + +When a user access token is refreshed (from the logged in state to the +logged in state with a different access token) + + +##### [Session](../wyatt_authentication_bloc/Session-class.md)<Data> + + + +The Session object is used to transport and propagate +the connected user Account and personalized Data in the application. + + +##### [SessionWrapper](../wyatt_authentication_bloc/SessionWrapper-class.md)<Data> + + + +Contains the AuthenticationChangeEvent initiating the state +change and the current Session. + + +##### [SignedInEvent](../wyatt_authentication_bloc/SignedInEvent-class.md) + + + +When a user authenticates (from not logged in to logged in). + + +##### [SignedInFromCacheEvent](../wyatt_authentication_bloc/SignedInFromCacheEvent-class.md) + + + +When a user authenticates automatically (from not logged in to logged in). + + +##### [SignedOutEvent](../wyatt_authentication_bloc/SignedOutEvent-class.md) + + + +When a user logs out. + + +##### [SignedUpEvent](../wyatt_authentication_bloc/SignedUpEvent-class.md) + + + +When a user creates an account. + + +##### [SignInCubit](../wyatt_authentication_bloc/SignInCubit-class.md)<Data> + + + +Fully featured sign in cubit. + + +##### [SignInListener](../wyatt_authentication_bloc/SignInListener-class.md)<Data> + + + +Widget that listens and builds a child based on the state of +the sign in cubit + + +##### [SignInState](../wyatt_authentication_bloc/SignInState-class.md) + + + +Sign in cubit state to manage the form. + + +##### [SignUpCubit](../wyatt_authentication_bloc/SignUpCubit-class.md)<Data> + + + +Fully featured sign up cubit. + + +##### [SignUpListener](../wyatt_authentication_bloc/SignUpListener-class.md)<Data> + + + +Widget that listens and builds a child based on the state of +the sign up cubit + + +##### [SignUpState](../wyatt_authentication_bloc/SignUpState-class.md) + + + +Sign up cubit state to manage the form. + + +##### [UnknownAuthenticationEvent](../wyatt_authentication_bloc/UnknownAuthenticationEvent-class.md) + + + +When a user's login status is unknown. + + +##### [UpdatedEvent](../wyatt_authentication_bloc/UpdatedEvent-class.md) + + + +When the user's account has been updated. + + + +## Mixins + +##### [SignInAnonymously](../wyatt_authentication_bloc/SignInAnonymously-mixin.md)<Data> + + + +Sign in mixin. + + +##### [SignInWithEmailPassword](../wyatt_authentication_bloc/SignInWithEmailPassword-mixin.md)<Data> + + + +Sign in mixin. + + +##### [SignInWithGoogle](../wyatt_authentication_bloc/SignInWithGoogle-mixin.md)<Data> + + + +Sign in mixin. + + +##### [SignUpWithEmailPassword](../wyatt_authentication_bloc/SignUpWithEmailPassword-mixin.md)<Data> + + + +Sign up mixin. + + +##### [UpdateEmail](../wyatt_authentication_bloc/UpdateEmail-mixin.md)<Data> + + + +Edit account mixin. + + +##### [UpdatePassword](../wyatt_authentication_bloc/UpdatePassword-mixin.md)<Data> + + + +Edit account mixin. + + + +## Extensions + +##### [BuildContextExtension](../wyatt_authentication_bloc/BuildContextExtension.md) + + + +Extension that helps to quickly access useful resources like wrapper, +session, account or data. + + + + + + +## Enums + +##### [AuthenticationStatus](../wyatt_authentication_bloc/AuthenticationStatus.md) + + + +Different authentication status + + + + +## Exceptions / Errors + +##### [ApplyActionCodeFailureFirebase](../wyatt_authentication_bloc/ApplyActionCodeFailureFirebase-class.md) + + + +Thrown if during the apply action code process if a failure occurs. + + +##### [ApplyActionCodeFailureInterface](../wyatt_authentication_bloc/ApplyActionCodeFailureInterface-class.md) + + + +Thrown if during the apply action code process if a failure occurs. + + +##### [AuthenticationFailureInterface](../wyatt_authentication_bloc/AuthenticationFailureInterface-class.md) + + + +Base exception used in Wyatt Authentication + + +##### [ConfirmPasswordResetFailureFirebase](../wyatt_authentication_bloc/ConfirmPasswordResetFailureFirebase-class.md) + + + +Thrown during the password reset process if a failure occurs. + + +##### [ConfirmPasswordResetFailureInterface](../wyatt_authentication_bloc/ConfirmPasswordResetFailureInterface-class.md) + + + +Thrown during the password reset process if a failure occurs. + + +##### [DeleteAccountFailureFirebase](../wyatt_authentication_bloc/DeleteAccountFailureFirebase-class.md) + + + +Thrown during the account deletion if a failure occurs. + + +##### [DeleteAccountFailureInterface](../wyatt_authentication_bloc/DeleteAccountFailureInterface-class.md) + + + +Thrown during the account deletion if a failure occurs. + + +##### [FetchSignInMethodsForEmailFailureFirebase](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureFirebase-class.md) + + + +Thrown during the fetch sign in methods if a failure occurs. + + +##### [FetchSignInMethodsForEmailFailureInterface](../wyatt_authentication_bloc/FetchSignInMethodsForEmailFailureInterface-class.md) + + + +Thrown during the fetch sign in methods if a failure occurs. + + +##### [ModelParsingFailureFirebase](../wyatt_authentication_bloc/ModelParsingFailureFirebase-class.md) + + + +Thrown during the model parsing process if a failure occurs. + + +##### [ModelParsingFailureInterface](../wyatt_authentication_bloc/ModelParsingFailureInterface-class.md) + + + +Thrown during the model parsing process if a failure occurs. + + +##### [ReauthenticateFailureFirebase](../wyatt_authentication_bloc/ReauthenticateFailureFirebase-class.md) + + + +Thrown during the reauthentication process if a failure occurs. + + +##### [ReauthenticateFailureInterface](../wyatt_authentication_bloc/ReauthenticateFailureInterface-class.md) + + + +Thrown during the reauthentication process if a failure occurs. + + +##### [RefreshFailureFirebase](../wyatt_authentication_bloc/RefreshFailureFirebase-class.md) + + + +Thrown during the refresh process if a failure occurs. + + +##### [RefreshFailureInterface](../wyatt_authentication_bloc/RefreshFailureInterface-class.md) + + + +Thrown during the refresh process if a failure occurs. + + +##### [SendEmailVerificationFailureFirebase](../wyatt_authentication_bloc/SendEmailVerificationFailureFirebase-class.md) + + + +Thrown during the email verification process if a failure occurs. + + +##### [SendEmailVerificationFailureInterface](../wyatt_authentication_bloc/SendEmailVerificationFailureInterface-class.md) + + + +Thrown during the email verification process if a failure occurs. + + +##### [SendPasswordResetEmailFailureFirebase](../wyatt_authentication_bloc/SendPasswordResetEmailFailureFirebase-class.md) + + + +Thrown during the password reset process if a failure occurs. + + +##### [SendPasswordResetEmailFailureInterface](../wyatt_authentication_bloc/SendPasswordResetEmailFailureInterface-class.md) + + + +Thrown during the password reset process if a failure occurs. + + +##### [SendSignInLinkEmailFailureFirebase](../wyatt_authentication_bloc/SendSignInLinkEmailFailureFirebase-class.md) + + + +Thrown during the sign in link process if a failure occurs. + + +##### [SendSignInLinkEmailFailureInterface](../wyatt_authentication_bloc/SendSignInLinkEmailFailureInterface-class.md) + + + +Thrown during the sign in link process if a failure occurs. + + +##### [SignInAnonymouslyFailureFirebase](../wyatt_authentication_bloc/SignInAnonymouslyFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInAnonymouslyFailureInterface](../wyatt_authentication_bloc/SignInAnonymouslyFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithAppleFailureFirebase](../wyatt_authentication_bloc/SignInWithAppleFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithAppleFailureInterface](../wyatt_authentication_bloc/SignInWithAppleFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithCredentialFailureFirebase](../wyatt_authentication_bloc/SignInWithCredentialFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithCredentialFailureInterface](../wyatt_authentication_bloc/SignInWithCredentialFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignInWithEmailAndPasswordFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithEmailLinkFailureFirebase](../wyatt_authentication_bloc/SignInWithEmailLinkFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithEmailLinkFailureInterface](../wyatt_authentication_bloc/SignInWithEmailLinkFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithFacebookFailureFirebase](../wyatt_authentication_bloc/SignInWithFacebookFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithFacebookFailureInterface](../wyatt_authentication_bloc/SignInWithFacebookFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithGoogleFailureFirebase](../wyatt_authentication_bloc/SignInWithGoogleFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithGoogleFailureInterface](../wyatt_authentication_bloc/SignInWithGoogleFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithTwitterFailureFirebase](../wyatt_authentication_bloc/SignInWithTwitterFailureFirebase-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignInWithTwitterFailureInterface](../wyatt_authentication_bloc/SignInWithTwitterFailureInterface-class.md) + + + +Thrown during the sign in process if a failure occurs. + + +##### [SignOutFailureFirebase](../wyatt_authentication_bloc/SignOutFailureFirebase-class.md) + + + +Thrown during the sign out process if a failure occurs. + + +##### [SignOutFailureInterface](../wyatt_authentication_bloc/SignOutFailureInterface-class.md) + + + +Thrown during the sign out process if a failure occurs. + + +##### [SignUpWithEmailAndPasswordFailureFirebase](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureFirebase-class.md) + + + +Thrown if during the sign up process if a failure occurs. + + +##### [SignUpWithEmailAndPasswordFailureInterface](../wyatt_authentication_bloc/SignUpWithEmailAndPasswordFailureInterface-class.md) + + + +Thrown if during the sign up process if a failure occurs. + + +##### [UpdateEmailFailureFirebase](../wyatt_authentication_bloc/UpdateEmailFailureFirebase-class.md) + + + +Thrown during the email modification process if a failure occurs. + + +##### [UpdateEmailFailureInterface](../wyatt_authentication_bloc/UpdateEmailFailureInterface-class.md) + + + +Thrown during the email modification process if a failure occurs. + + +##### [UpdatePasswordFailureFirebase](../wyatt_authentication_bloc/UpdatePasswordFailureFirebase-class.md) + + + +Thrown during the password modification process if a failure occurs. + + +##### [UpdatePasswordFailureInterface](../wyatt_authentication_bloc/UpdatePasswordFailureInterface-class.md) + + + +Thrown during the password modification process if a failure occurs. + + +##### [VerifyPasswordResetCodeFailureFirebase](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureFirebase-class.md) + + + +Thrown during the password reset process if a failure occurs. + + +##### [VerifyPasswordResetCodeFailureInterface](../wyatt_authentication_bloc/VerifyPasswordResetCodeFailureInterface-class.md) + + + +Thrown during the password reset process if a failure occurs. + + + + + + + diff --git a/packages/wyatt_authentication_bloc/example/.gitignore b/packages/wyatt_authentication_bloc/example/.gitignore index 891ead31..6df3a32a 100644 --- a/packages/wyatt_authentication_bloc/example/.gitignore +++ b/packages/wyatt_authentication_bloc/example/.gitignore @@ -22,7 +22,6 @@ migrate_working_dir/ #.vscode/ # Flutter/Dart/Pub related -**/doc/api/ **/ios/Flutter/.last_build_id .dart_tool/ .flutter-plugins