Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- identitytoolkit.relyingparty.createAuthUri
- identitytoolkit.relyingparty.deleteAccount
- identitytoolkit.relyingparty.downloadAccount
- identitytoolkit.relyingparty.emailLinkSignin
- identitytoolkit.relyingparty.getAccountInfo
- identitytoolkit.relyingparty.getOobConfirmationCode
- identitytoolkit.relyingparty.getProjectConfig
- identitytoolkit.relyingparty.getPublicKeys
- identitytoolkit.relyingparty.getRecaptchaParam
- identitytoolkit.relyingparty.resetPassword
- identitytoolkit.relyingparty.sendVerificationCode
- identitytoolkit.relyingparty.setAccountInfo
- identitytoolkit.relyingparty.setProjectConfig
- identitytoolkit.relyingparty.signOutUser
- identitytoolkit.relyingparty.signupNewUser
- identitytoolkit.relyingparty.uploadAccount
- identitytoolkit.relyingparty.verifyAssertion
- identitytoolkit.relyingparty.verifyCustomToken
- identitytoolkit.relyingparty.verifyPassword
- identitytoolkit.relyingparty.verifyPhoneNumber
- Types
- UploadAccountResponseErrorItem
- UserInfoProviderUserInfoItem
- VerifyCustomTokenResponse
- IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse
- IdpConfig
- UserInfo
- IdentitytoolkitRelyingPartySetProjectConfigResponse
- IdentitytoolkitRelyingPartyVerifyCustomTokenRequest
- SetAccountInfoResponseProviderUserInfoItem
- IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
- IdentitytoolkitRelyingPartyVerifyPasswordRequest
- IdentitytoolkitRelyingPartySendVerificationCodeRequest
- SignupNewUserResponse
- IdentitytoolkitRelyingPartySetProjectConfigRequest
- IdentitytoolkitRelyingPartySetAccountInfoRequest
- IdentitytoolkitRelyingPartyVerifyAssertionRequest
- EmailLinkSigninResponse
- DeleteAccountResponse
- IdentitytoolkitRelyingPartySignOutUserResponse
- DownloadAccountResponse
- IdentitytoolkitRelyingPartyGetProjectConfigResponse
- ResetPasswordResponse
- UploadAccountResponse
- CreateAuthURIResponse
- IdentitytoolkitRelyingPartyGetPublicKeysResponse
- RelyingParty
- IdentitytoolkitRelyingPartyGetAccountInfoRequest
- EmailTemplate
- IdentitytoolkitRelyingPartyUploadAccountRequest
- IdentitytoolkitRelyingPartyResetPasswordRequest
- IdentitytoolkitRelyingPartyCreateAuthURIRequest
- IdentitytoolkitRelyingPartySendVerificationCodeResponse
- GetAccountInfoResponse
- IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest
- IdentitytoolkitRelyingPartyEmailLinkSigninRequest
- IdentitytoolkitRelyingPartyDeleteAccountRequest
- GetOOBConfirmationCodeResponse
- IdentitytoolkitRelyingPartyDownloadAccountRequest
- VerifyPasswordResponse
- SetAccountInfoResponse
- IdentitytoolkitRelyingPartySignupNewUserRequest
- VerifyAssertionResponse
- IdentitytoolkitRelyingPartySignOutUserRequest
- GetRecaptchaParamResponse
Help the third party sites to implement federated login.
Synopsis
- identityToolkitService :: ServiceConfig
- firebaseScope :: Proxy '["https://www.googleapis.com/auth/firebase"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type IdentityToolkitAPI = RelyingPartySignOutUserResource :<|> (RelyingPartyVerifyCustomTokenResource :<|> (RelyingPartyCreateAuthURIResource :<|> (RelyingPartyUploadAccountResource :<|> (RelyingPartyResetPasswordResource :<|> (RelyingPartySetAccountInfoResource :<|> (RelyingPartyVerifyAssertionResource :<|> (RelyingPartySetProjectConfigResource :<|> (RelyingPartyDeleteAccountResource :<|> (RelyingPartyVerifyPhoneNumberResource :<|> (RelyingPartyEmailLinkSigninResource :<|> (RelyingPartySignupNewUserResource :<|> (RelyingPartyGetOOBConfirmationCodeResource :<|> (RelyingPartyGetRecaptchaParamResource :<|> (RelyingPartyDownloadAccountResource :<|> (RelyingPartyVerifyPasswordResource :<|> (RelyingPartySendVerificationCodeResource :<|> (RelyingPartyGetPublicKeysResource :<|> (RelyingPartyGetAccountInfoResource :<|> RelyingPartyGetProjectConfigResource))))))))))))))))))
- module Network.Google.Resource.IdentityToolkit.RelyingParty.CreateAuthURI
- module Network.Google.Resource.IdentityToolkit.RelyingParty.DeleteAccount
- module Network.Google.Resource.IdentityToolkit.RelyingParty.DownloadAccount
- module Network.Google.Resource.IdentityToolkit.RelyingParty.EmailLinkSignin
- module Network.Google.Resource.IdentityToolkit.RelyingParty.GetAccountInfo
- module Network.Google.Resource.IdentityToolkit.RelyingParty.GetOOBConfirmationCode
- module Network.Google.Resource.IdentityToolkit.RelyingParty.GetProjectConfig
- module Network.Google.Resource.IdentityToolkit.RelyingParty.GetPublicKeys
- module Network.Google.Resource.IdentityToolkit.RelyingParty.GetRecaptchaParam
- module Network.Google.Resource.IdentityToolkit.RelyingParty.ResetPassword
- module Network.Google.Resource.IdentityToolkit.RelyingParty.SendVerificationCode
- module Network.Google.Resource.IdentityToolkit.RelyingParty.SetAccountInfo
- module Network.Google.Resource.IdentityToolkit.RelyingParty.SetProjectConfig
- module Network.Google.Resource.IdentityToolkit.RelyingParty.SignOutUser
- module Network.Google.Resource.IdentityToolkit.RelyingParty.SignupNewUser
- module Network.Google.Resource.IdentityToolkit.RelyingParty.UploadAccount
- module Network.Google.Resource.IdentityToolkit.RelyingParty.VerifyAssertion
- module Network.Google.Resource.IdentityToolkit.RelyingParty.VerifyCustomToken
- module Network.Google.Resource.IdentityToolkit.RelyingParty.VerifyPassword
- module Network.Google.Resource.IdentityToolkit.RelyingParty.VerifyPhoneNumber
- data UploadAccountResponseErrorItem
- uploadAccountResponseErrorItem :: UploadAccountResponseErrorItem
- uareiMessage :: Lens' UploadAccountResponseErrorItem (Maybe Text)
- uareiIndex :: Lens' UploadAccountResponseErrorItem (Maybe Int32)
- data UserInfoProviderUserInfoItem
- userInfoProviderUserInfoItem :: UserInfoProviderUserInfoItem
- uipuiiProviderId :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiEmail :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiPhotoURL :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiFederatedId :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiPhoneNumber :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiDisplayName :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiScreenName :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- uipuiiRawId :: Lens' UserInfoProviderUserInfoItem (Maybe Text)
- data VerifyCustomTokenResponse
- verifyCustomTokenResponse :: VerifyCustomTokenResponse
- vctrIsNewUser :: Lens' VerifyCustomTokenResponse (Maybe Bool)
- vctrKind :: Lens' VerifyCustomTokenResponse Text
- vctrRefreshToken :: Lens' VerifyCustomTokenResponse (Maybe Text)
- vctrExpiresIn :: Lens' VerifyCustomTokenResponse (Maybe Int64)
- vctrIdToken :: Lens' VerifyCustomTokenResponse (Maybe Text)
- data IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse
- identitytoolkitRelyingPartyVerifyPhoneNumberResponse :: IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse
- irpvpnrIsNewUser :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Bool)
- irpvpnrTemporaryProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- irpvpnrVerificationProofExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64)
- irpvpnrVerificationProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- irpvpnrTemporaryProofExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64)
- irpvpnrRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- irpvpnrPhoneNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- irpvpnrExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64)
- irpvpnrLocalId :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- irpvpnrIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text)
- data IdpConfig
- idpConfig :: IdpConfig
- icClientId :: Lens' IdpConfig (Maybe Text)
- icEnabled :: Lens' IdpConfig (Maybe Bool)
- icWhiteListedAudiences :: Lens' IdpConfig [Text]
- icSecret :: Lens' IdpConfig (Maybe Text)
- icExperimentPercent :: Lens' IdpConfig (Maybe Int32)
- icProvider :: Lens' IdpConfig (Maybe Text)
- data UserInfo
- userInfo :: UserInfo
- uiEmail :: Lens' UserInfo (Maybe Text)
- uiLastLoginAt :: Lens' UserInfo (Maybe Int64)
- uiPhotoURL :: Lens' UserInfo (Maybe Text)
- uiCreatedAt :: Lens' UserInfo (Maybe Int64)
- uiDisabled :: Lens' UserInfo (Maybe Bool)
- uiCustomAuth :: Lens' UserInfo (Maybe Bool)
- uiProviderUserInfo :: Lens' UserInfo [UserInfoProviderUserInfoItem]
- uiCustomAttributes :: Lens' UserInfo (Maybe Text)
- uiValidSince :: Lens' UserInfo (Maybe Int64)
- uiPasswordUpdatedAt :: Lens' UserInfo (Maybe Double)
- uiPhoneNumber :: Lens' UserInfo (Maybe Text)
- uiVersion :: Lens' UserInfo (Maybe Int32)
- uiEmailVerified :: Lens' UserInfo (Maybe Bool)
- uiSalt :: Lens' UserInfo (Maybe ByteString)
- uiDisplayName :: Lens' UserInfo (Maybe Text)
- uiPasswordHash :: Lens' UserInfo (Maybe ByteString)
- uiLocalId :: Lens' UserInfo (Maybe Text)
- uiRawPassword :: Lens' UserInfo (Maybe Text)
- uiScreenName :: Lens' UserInfo (Maybe Text)
- data IdentitytoolkitRelyingPartySetProjectConfigResponse
- identitytoolkitRelyingPartySetProjectConfigResponse :: IdentitytoolkitRelyingPartySetProjectConfigResponse
- irpspcrProjectId :: Lens' IdentitytoolkitRelyingPartySetProjectConfigResponse (Maybe Text)
- data IdentitytoolkitRelyingPartyVerifyCustomTokenRequest
- identitytoolkitRelyingPartyVerifyCustomTokenRequest :: IdentitytoolkitRelyingPartyVerifyCustomTokenRequest
- irpvctrInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Text)
- irpvctrDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Int64)
- irpvctrToken :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Text)
- irpvctrReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Bool)
- data SetAccountInfoResponseProviderUserInfoItem
- setAccountInfoResponseProviderUserInfoItem :: SetAccountInfoResponseProviderUserInfoItem
- sairpuiiProviderId :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text)
- sairpuiiPhotoURL :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text)
- sairpuiiFederatedId :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text)
- sairpuiiDisplayName :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text)
- data IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
- identitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter :: HashMap Text Text -> IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
- irpcaurcpAddtional :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter (HashMap Text Text)
- data IdentitytoolkitRelyingPartyVerifyPasswordRequest
- identitytoolkitRelyingPartyVerifyPasswordRequest :: IdentitytoolkitRelyingPartyVerifyPasswordRequest
- irpvprEmail :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Word64)
- irpvprDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Int64)
- irpvprReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Bool)
- irpvprTenantId :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprPassword :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
- data IdentitytoolkitRelyingPartySendVerificationCodeRequest
- identitytoolkitRelyingPartySendVerificationCodeRequest :: IdentitytoolkitRelyingPartySendVerificationCodeRequest
- irpsvcrPhoneNumber :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text)
- irpsvcrRecaptchaToken :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text)
- irpsvcrIosSecret :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text)
- irpsvcrIosReceipt :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text)
- data SignupNewUserResponse
- signupNewUserResponse :: SignupNewUserResponse
- snurEmail :: Lens' SignupNewUserResponse (Maybe Text)
- snurKind :: Lens' SignupNewUserResponse Text
- snurRefreshToken :: Lens' SignupNewUserResponse (Maybe Text)
- snurExpiresIn :: Lens' SignupNewUserResponse (Maybe Int64)
- snurDisplayName :: Lens' SignupNewUserResponse (Maybe Text)
- snurLocalId :: Lens' SignupNewUserResponse (Maybe Text)
- snurIdToken :: Lens' SignupNewUserResponse (Maybe Text)
- data IdentitytoolkitRelyingPartySetProjectConfigRequest
- identitytoolkitRelyingPartySetProjectConfigRequest :: IdentitytoolkitRelyingPartySetProjectConfigRequest
- irpspcrAuthorizedDomains :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest [Text]
- irpspcrAPIKey :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Text)
- irpspcrIdpConfig :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest [IdpConfig]
- irpspcrChangeEmailTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate)
- irpspcrDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Int64)
- irpspcrVerifyEmailTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate)
- irpspcrEnableAnonymousUser :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool)
- irpspcrLegacyResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate)
- irpspcrAllowPasswordUser :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool)
- irpspcrResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate)
- irpspcrUseEmailSending :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool)
- data IdentitytoolkitRelyingPartySetAccountInfoRequest
- identitytoolkitRelyingPartySetAccountInfoRequest :: IdentitytoolkitRelyingPartySetAccountInfoRequest
- irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
- irpsairEmail :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairInstanceId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairLastLoginAt :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
- irpsairPhotoURL :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairCreatedAt :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
- irpsairDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
- irpsairDeleteAttribute :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text]
- irpsairDeleteProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text]
- irpsairReturnSecureToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
- irpsairCustomAttributes :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairValidSince :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
- irpsairOOBCode :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairPassword :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairPhoneNumber :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
- irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
- irpsairLocalId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairIdToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
- irpsairProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text]
- data IdentitytoolkitRelyingPartyVerifyAssertionRequest
- identitytoolkitRelyingPartyVerifyAssertionRequest :: IdentitytoolkitRelyingPartyVerifyAssertionRequest
- irpvarReturnIdpCredential :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
- irpvarInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Word64)
- irpvarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Int64)
- irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
- irpvarTenantId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
- irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarSessionId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarAutoCreate :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
- irpvarIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
- data EmailLinkSigninResponse
- emailLinkSigninResponse :: EmailLinkSigninResponse
- elsrEmail :: Lens' EmailLinkSigninResponse (Maybe Text)
- elsrIsNewUser :: Lens' EmailLinkSigninResponse (Maybe Bool)
- elsrKind :: Lens' EmailLinkSigninResponse Text
- elsrRefreshToken :: Lens' EmailLinkSigninResponse (Maybe Text)
- elsrExpiresIn :: Lens' EmailLinkSigninResponse (Maybe Int64)
- elsrLocalId :: Lens' EmailLinkSigninResponse (Maybe Text)
- elsrIdToken :: Lens' EmailLinkSigninResponse (Maybe Text)
- data DeleteAccountResponse
- deleteAccountResponse :: DeleteAccountResponse
- darKind :: Lens' DeleteAccountResponse Text
- data IdentitytoolkitRelyingPartySignOutUserResponse
- identitytoolkitRelyingPartySignOutUserResponse :: IdentitytoolkitRelyingPartySignOutUserResponse
- irpsourLocalId :: Lens' IdentitytoolkitRelyingPartySignOutUserResponse (Maybe Text)
- data DownloadAccountResponse
- downloadAccountResponse :: DownloadAccountResponse
- dNextPageToken :: Lens' DownloadAccountResponse (Maybe Text)
- dUsers :: Lens' DownloadAccountResponse [UserInfo]
- dKind :: Lens' DownloadAccountResponse Text
- data IdentitytoolkitRelyingPartyGetProjectConfigResponse
- identitytoolkitRelyingPartyGetProjectConfigResponse :: IdentitytoolkitRelyingPartyGetProjectConfigResponse
- irpgpcrAuthorizedDomains :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse [Text]
- irpgpcrAPIKey :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text)
- irpgpcrIdpConfig :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse [IdpConfig]
- irpgpcrChangeEmailTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate)
- irpgpcrVerifyEmailTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate)
- irpgpcrEnableAnonymousUser :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool)
- irpgpcrLegacyResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate)
- irpgpcrAllowPasswordUser :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool)
- irpgpcrResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate)
- irpgpcrProjectId :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text)
- irpgpcrUseEmailSending :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool)
- irpgpcrDynamicLinksDomain :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text)
- data ResetPasswordResponse
- resetPasswordResponse :: ResetPasswordResponse
- rprEmail :: Lens' ResetPasswordResponse (Maybe Text)
- rprKind :: Lens' ResetPasswordResponse Text
- rprRequestType :: Lens' ResetPasswordResponse (Maybe Text)
- rprNewEmail :: Lens' ResetPasswordResponse (Maybe Text)
- data UploadAccountResponse
- uploadAccountResponse :: UploadAccountResponse
- uarKind :: Lens' UploadAccountResponse Text
- uarError :: Lens' UploadAccountResponse [UploadAccountResponseErrorItem]
- data CreateAuthURIResponse
- createAuthURIResponse :: CreateAuthURIResponse
- caurProviderId :: Lens' CreateAuthURIResponse (Maybe Text)
- caurKind :: Lens' CreateAuthURIResponse Text
- caurAllProviders :: Lens' CreateAuthURIResponse [Text]
- caurAuthURI :: Lens' CreateAuthURIResponse (Maybe Text)
- caurCaptchaRequired :: Lens' CreateAuthURIResponse (Maybe Bool)
- caurSigninMethods :: Lens' CreateAuthURIResponse [Text]
- caurRegistered :: Lens' CreateAuthURIResponse (Maybe Bool)
- caurSessionId :: Lens' CreateAuthURIResponse (Maybe Text)
- caurForExistingProvider :: Lens' CreateAuthURIResponse (Maybe Bool)
- data IdentitytoolkitRelyingPartyGetPublicKeysResponse
- identitytoolkitRelyingPartyGetPublicKeysResponse :: HashMap Text Text -> IdentitytoolkitRelyingPartyGetPublicKeysResponse
- irpgpkrAddtional :: Lens' IdentitytoolkitRelyingPartyGetPublicKeysResponse (HashMap Text Text)
- data RelyingParty
- relyingParty :: RelyingParty
- rpIOSBundleId :: Lens' RelyingParty (Maybe Text)
- rpEmail :: Lens' RelyingParty (Maybe Text)
- rpContinueURL :: Lens' RelyingParty (Maybe Text)
- rpKind :: Lens' RelyingParty Text
- rpUserIP :: Lens' RelyingParty (Maybe Text)
- rpAndroidInstallApp :: Lens' RelyingParty (Maybe Bool)
- rpIOSAppStoreId :: Lens' RelyingParty (Maybe Text)
- rpRequestType :: Lens' RelyingParty (Maybe Text)
- rpAndroidMinimumVersion :: Lens' RelyingParty (Maybe Text)
- rpCanHandleCodeInApp :: Lens' RelyingParty (Maybe Bool)
- rpCaptchaResp :: Lens' RelyingParty (Maybe Text)
- rpNewEmail :: Lens' RelyingParty (Maybe Text)
- rpChallenge :: Lens' RelyingParty (Maybe Text)
- rpIdToken :: Lens' RelyingParty (Maybe Text)
- rpAndroidPackageName :: Lens' RelyingParty (Maybe Text)
- data IdentitytoolkitRelyingPartyGetAccountInfoRequest
- identitytoolkitRelyingPartyGetAccountInfoRequest :: IdentitytoolkitRelyingPartyGetAccountInfoRequest
- irpgairEmail :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
- irpgairDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Int64)
- irpgairPhoneNumber :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
- irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
- irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Text)
- data EmailTemplate
- emailTemplate :: EmailTemplate
- etSubject :: Lens' EmailTemplate (Maybe Text)
- etBody :: Lens' EmailTemplate (Maybe Text)
- etFormat :: Lens' EmailTemplate (Maybe Text)
- etFromDisplayName :: Lens' EmailTemplate (Maybe Text)
- etFrom :: Lens' EmailTemplate (Maybe Text)
- etReplyTo :: Lens' EmailTemplate (Maybe Text)
- data IdentitytoolkitRelyingPartyUploadAccountRequest
- identitytoolkitRelyingPartyUploadAccountRequest :: IdentitytoolkitRelyingPartyUploadAccountRequest
- irpuarBlockSize :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarUsers :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest [UserInfo]
- irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarAllowOverwrite :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Bool)
- irpuarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int64)
- irpuarParallelization :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarCPUMemCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarSanityCheck :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Bool)
- irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe ByteString)
- irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text)
- irpuarDkLen :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe ByteString)
- irpuarRounds :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
- irpuarTargetProjectId :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text)
- data IdentitytoolkitRelyingPartyResetPasswordRequest
- identitytoolkitRelyingPartyResetPasswordRequest :: IdentitytoolkitRelyingPartyResetPasswordRequest
- irprprEmail :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
- irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
- irprprOOBCode :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
- irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
- data IdentitytoolkitRelyingPartyCreateAuthURIRequest
- identitytoolkitRelyingPartyCreateAuthURIRequest :: IdentitytoolkitRelyingPartyCreateAuthURIRequest
- irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurContext :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurCustomParameter :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter)
- irpcaurTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Word64)
- irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurTenantId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurHostedDomain :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurAuthFlowType :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurSessionId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
- data IdentitytoolkitRelyingPartySendVerificationCodeResponse
- identitytoolkitRelyingPartySendVerificationCodeResponse :: IdentitytoolkitRelyingPartySendVerificationCodeResponse
- irpsvcrSessionInfo :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeResponse (Maybe Text)
- data GetAccountInfoResponse
- getAccountInfoResponse :: GetAccountInfoResponse
- gairUsers :: Lens' GetAccountInfoResponse [UserInfo]
- gairKind :: Lens' GetAccountInfoResponse Text
- data IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest
- identitytoolkitRelyingPartyVerifyPhoneNumberRequest :: IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest
- iTemporaryProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iVerificationProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iOperation :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iSessionInfo :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iPhoneNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iCode :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- iIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text)
- data IdentitytoolkitRelyingPartyEmailLinkSigninRequest
- identitytoolkitRelyingPartyEmailLinkSigninRequest :: IdentitytoolkitRelyingPartyEmailLinkSigninRequest
- irpelsrEmail :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text)
- irpelsrOOBCode :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text)
- irpelsrIdToken :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text)
- data IdentitytoolkitRelyingPartyDeleteAccountRequest
- identitytoolkitRelyingPartyDeleteAccountRequest :: IdentitytoolkitRelyingPartyDeleteAccountRequest
- irpdarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Int64)
- irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text)
- irpdarIdToken :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text)
- data GetOOBConfirmationCodeResponse
- getOOBConfirmationCodeResponse :: GetOOBConfirmationCodeResponse
- goobccrEmail :: Lens' GetOOBConfirmationCodeResponse (Maybe Text)
- goobccrKind :: Lens' GetOOBConfirmationCodeResponse Text
- goobccrOOBCode :: Lens' GetOOBConfirmationCodeResponse (Maybe Text)
- data IdentitytoolkitRelyingPartyDownloadAccountRequest
- identitytoolkitRelyingPartyDownloadAccountRequest :: IdentitytoolkitRelyingPartyDownloadAccountRequest
- iNextPageToken :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text)
- iDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Int64)
- iMaxResults :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Word32)
- iTargetProjectId :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text)
- data VerifyPasswordResponse
- verifyPasswordResponse :: VerifyPasswordResponse
- vprEmail :: Lens' VerifyPasswordResponse (Maybe Text)
- vprPhotoURL :: Lens' VerifyPasswordResponse (Maybe Text)
- vprOAuthAccessToken :: Lens' VerifyPasswordResponse (Maybe Text)
- vprKind :: Lens' VerifyPasswordResponse Text
- vprOAuthExpireIn :: Lens' VerifyPasswordResponse (Maybe Int32)
- vprRefreshToken :: Lens' VerifyPasswordResponse (Maybe Text)
- vprExpiresIn :: Lens' VerifyPasswordResponse (Maybe Int64)
- vprDisplayName :: Lens' VerifyPasswordResponse (Maybe Text)
- vprLocalId :: Lens' VerifyPasswordResponse (Maybe Text)
- vprRegistered :: Lens' VerifyPasswordResponse (Maybe Bool)
- vprIdToken :: Lens' VerifyPasswordResponse (Maybe Text)
- vprOAuthAuthorizationCode :: Lens' VerifyPasswordResponse (Maybe Text)
- data SetAccountInfoResponse
- setAccountInfoResponse :: SetAccountInfoResponse
- sairEmail :: Lens' SetAccountInfoResponse (Maybe Text)
- sairPhotoURL :: Lens' SetAccountInfoResponse (Maybe Text)
- sairKind :: Lens' SetAccountInfoResponse Text
- sairRefreshToken :: Lens' SetAccountInfoResponse (Maybe Text)
- sairProviderUserInfo :: Lens' SetAccountInfoResponse [SetAccountInfoResponseProviderUserInfoItem]
- sairExpiresIn :: Lens' SetAccountInfoResponse (Maybe Int64)
- sairEmailVerified :: Lens' SetAccountInfoResponse (Maybe Bool)
- sairDisplayName :: Lens' SetAccountInfoResponse (Maybe Text)
- sairPasswordHash :: Lens' SetAccountInfoResponse (Maybe ByteString)
- sairLocalId :: Lens' SetAccountInfoResponse (Maybe Text)
- sairNewEmail :: Lens' SetAccountInfoResponse (Maybe Text)
- sairIdToken :: Lens' SetAccountInfoResponse (Maybe Text)
- data IdentitytoolkitRelyingPartySignupNewUserRequest
- identitytoolkitRelyingPartySignupNewUserRequest :: IdentitytoolkitRelyingPartySignupNewUserRequest
- irpsnurEmail :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurInstanceId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurPhotoURL :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Word64)
- irpsnurDisabled :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Bool)
- irpsnurTenantId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurPassword :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurPhoneNumber :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurEmailVerified :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Bool)
- irpsnurDisplayName :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurLocalId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- irpsnurIdToken :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text)
- data VerifyAssertionResponse
- verifyAssertionResponse :: VerifyAssertionResponse
- varProviderId :: Lens' VerifyAssertionResponse (Maybe Text)
- varFullName :: Lens' VerifyAssertionResponse (Maybe Text)
- varEmail :: Lens' VerifyAssertionResponse (Maybe Text)
- varIsNewUser :: Lens' VerifyAssertionResponse (Maybe Bool)
- varEmailRecycled :: Lens' VerifyAssertionResponse (Maybe Bool)
- varPhotoURL :: Lens' VerifyAssertionResponse (Maybe Text)
- varVerifiedProvider :: Lens' VerifyAssertionResponse [Text]
- varContext :: Lens' VerifyAssertionResponse (Maybe Text)
- varNeedConfirmation :: Lens' VerifyAssertionResponse (Maybe Bool)
- varOriginalEmail :: Lens' VerifyAssertionResponse (Maybe Text)
- varLastName :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthAccessToken :: Lens' VerifyAssertionResponse (Maybe Text)
- varDateOfBirth :: Lens' VerifyAssertionResponse (Maybe Text)
- varKind :: Lens' VerifyAssertionResponse Text
- varRawUserInfo :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthExpireIn :: Lens' VerifyAssertionResponse (Maybe Int32)
- varRefreshToken :: Lens' VerifyAssertionResponse (Maybe Text)
- varAppInstallationURL :: Lens' VerifyAssertionResponse (Maybe Text)
- varAction :: Lens' VerifyAssertionResponse (Maybe Text)
- varNeedEmail :: Lens' VerifyAssertionResponse (Maybe Bool)
- varFederatedId :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthIdToken :: Lens' VerifyAssertionResponse (Maybe Text)
- varAppScheme :: Lens' VerifyAssertionResponse (Maybe Text)
- varExpiresIn :: Lens' VerifyAssertionResponse (Maybe Int64)
- varInputEmail :: Lens' VerifyAssertionResponse (Maybe Text)
- varEmailVerified :: Lens' VerifyAssertionResponse (Maybe Bool)
- varOAuthTokenSecret :: Lens' VerifyAssertionResponse (Maybe Text)
- varLanguage :: Lens' VerifyAssertionResponse (Maybe Text)
- varFirstName :: Lens' VerifyAssertionResponse (Maybe Text)
- varDisplayName :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthRequestToken :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthScope :: Lens' VerifyAssertionResponse (Maybe Text)
- varNickName :: Lens' VerifyAssertionResponse (Maybe Text)
- varLocalId :: Lens' VerifyAssertionResponse (Maybe Text)
- varTimeZone :: Lens' VerifyAssertionResponse (Maybe Text)
- varScreenName :: Lens' VerifyAssertionResponse (Maybe Text)
- varErrorMessage :: Lens' VerifyAssertionResponse (Maybe Text)
- varIdToken :: Lens' VerifyAssertionResponse (Maybe Text)
- varOAuthAuthorizationCode :: Lens' VerifyAssertionResponse (Maybe Text)
- data IdentitytoolkitRelyingPartySignOutUserRequest
- identitytoolkitRelyingPartySignOutUserRequest :: IdentitytoolkitRelyingPartySignOutUserRequest
- iInstanceId :: Lens' IdentitytoolkitRelyingPartySignOutUserRequest (Maybe Text)
- iLocalId :: Lens' IdentitytoolkitRelyingPartySignOutUserRequest (Maybe Text)
- data GetRecaptchaParamResponse
- getRecaptchaParamResponse :: GetRecaptchaParamResponse
- grprRecaptchaSiteKey :: Lens' GetRecaptchaParamResponse (Maybe Text)
- grprKind :: Lens' GetRecaptchaParamResponse Text
- grprRecaptchaStoken :: Lens' GetRecaptchaParamResponse (Maybe Text)
Service Configuration
identityToolkitService :: ServiceConfig Source #
Default request referring to version v3
of the Google Identity Toolkit API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
firebaseScope :: Proxy '["https://www.googleapis.com/auth/firebase"] Source #
View and administer all your Firebase data and settings
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type IdentityToolkitAPI = RelyingPartySignOutUserResource :<|> (RelyingPartyVerifyCustomTokenResource :<|> (RelyingPartyCreateAuthURIResource :<|> (RelyingPartyUploadAccountResource :<|> (RelyingPartyResetPasswordResource :<|> (RelyingPartySetAccountInfoResource :<|> (RelyingPartyVerifyAssertionResource :<|> (RelyingPartySetProjectConfigResource :<|> (RelyingPartyDeleteAccountResource :<|> (RelyingPartyVerifyPhoneNumberResource :<|> (RelyingPartyEmailLinkSigninResource :<|> (RelyingPartySignupNewUserResource :<|> (RelyingPartyGetOOBConfirmationCodeResource :<|> (RelyingPartyGetRecaptchaParamResource :<|> (RelyingPartyDownloadAccountResource :<|> (RelyingPartyVerifyPasswordResource :<|> (RelyingPartySendVerificationCodeResource :<|> (RelyingPartyGetPublicKeysResource :<|> (RelyingPartyGetAccountInfoResource :<|> RelyingPartyGetProjectConfigResource)))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the Google Identity Toolkit API service.
Resources
identitytoolkit.relyingparty.createAuthUri
identitytoolkit.relyingparty.deleteAccount
identitytoolkit.relyingparty.downloadAccount
identitytoolkit.relyingparty.emailLinkSignin
identitytoolkit.relyingparty.getAccountInfo
identitytoolkit.relyingparty.getOobConfirmationCode
identitytoolkit.relyingparty.getProjectConfig
identitytoolkit.relyingparty.getPublicKeys
identitytoolkit.relyingparty.getRecaptchaParam
identitytoolkit.relyingparty.resetPassword
identitytoolkit.relyingparty.sendVerificationCode
identitytoolkit.relyingparty.setAccountInfo
identitytoolkit.relyingparty.setProjectConfig
identitytoolkit.relyingparty.signOutUser
identitytoolkit.relyingparty.signupNewUser
identitytoolkit.relyingparty.uploadAccount
identitytoolkit.relyingparty.verifyAssertion
identitytoolkit.relyingparty.verifyCustomToken
identitytoolkit.relyingparty.verifyPassword
identitytoolkit.relyingparty.verifyPhoneNumber
Types
UploadAccountResponseErrorItem
data UploadAccountResponseErrorItem Source #
Instances
uploadAccountResponseErrorItem :: UploadAccountResponseErrorItem Source #
Creates a value of UploadAccountResponseErrorItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uareiMessage :: Lens' UploadAccountResponseErrorItem (Maybe Text) Source #
Detailed error message for the account info.
uareiIndex :: Lens' UploadAccountResponseErrorItem (Maybe Int32) Source #
The index of the malformed account, starting from 0.
UserInfoProviderUserInfoItem
data UserInfoProviderUserInfoItem Source #
Instances
userInfoProviderUserInfoItem :: UserInfoProviderUserInfoItem Source #
Creates a value of UserInfoProviderUserInfoItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uipuiiProviderId :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
The IdP ID. For white listed IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.
uipuiiEmail :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
User's email at IDP.
uipuiiPhotoURL :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
The user's photo url at the IDP.
uipuiiFederatedId :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
User's identifier at IDP.
uipuiiPhoneNumber :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
User's phone number.
uipuiiDisplayName :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
The user's display name at the IDP.
uipuiiScreenName :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
User's screen name at Twitter or login name at Github.
uipuiiRawId :: Lens' UserInfoProviderUserInfoItem (Maybe Text) Source #
User's raw identifier directly returned from IDP.
VerifyCustomTokenResponse
data VerifyCustomTokenResponse Source #
Response from verifying a custom token
See: verifyCustomTokenResponse
smart constructor.
Instances
verifyCustomTokenResponse :: VerifyCustomTokenResponse Source #
Creates a value of VerifyCustomTokenResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vctrIsNewUser :: Lens' VerifyCustomTokenResponse (Maybe Bool) Source #
True if it's a new user sign-in, false if it's a returning user.
vctrKind :: Lens' VerifyCustomTokenResponse Text Source #
The fixed string "identitytoolkit#VerifyCustomTokenResponse".
vctrRefreshToken :: Lens' VerifyCustomTokenResponse (Maybe Text) Source #
If idToken is STS id token, then this field will be refresh token.
vctrExpiresIn :: Lens' VerifyCustomTokenResponse (Maybe Int64) Source #
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
vctrIdToken :: Lens' VerifyCustomTokenResponse (Maybe Text) Source #
The GITKit token for authenticated user.
IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse
data IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse Source #
Response for Identitytoolkit-VerifyPhoneNumber
See: identitytoolkitRelyingPartyVerifyPhoneNumberResponse
smart constructor.
Instances
identitytoolkitRelyingPartyVerifyPhoneNumberResponse :: IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse Source #
Creates a value of IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpvpnrIsNewUser :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Bool) Source #
irpvpnrTemporaryProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text) Source #
irpvpnrVerificationProofExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64) Source #
irpvpnrVerificationProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text) Source #
irpvpnrTemporaryProofExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64) Source #
irpvpnrRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text) Source #
irpvpnrPhoneNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Text) Source #
irpvpnrExpiresIn :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberResponse (Maybe Int64) Source #
IdpConfig
Template for a single idp configuration.
See: idpConfig
smart constructor.
Instances
idpConfig :: IdpConfig Source #
Creates a value of IdpConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
icExperimentPercent :: Lens' IdpConfig (Maybe Int32) Source #
Percent of users who will be prompted/redirected federated login for this IDP.
UserInfo
Template for an individual account info.
See: userInfo
smart constructor.
Instances
Creates a value of UserInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uiCustomAuth :: Lens' UserInfo (Maybe Bool) Source #
Whether the user is authenticated by the developer.
uiProviderUserInfo :: Lens' UserInfo [UserInfoProviderUserInfoItem] Source #
The IDP of the user.
uiCustomAttributes :: Lens' UserInfo (Maybe Text) Source #
The custom attributes to be set in the user's id token.
uiPasswordUpdatedAt :: Lens' UserInfo (Maybe Double) Source #
The timestamp when the password was last updated.
uiPasswordHash :: Lens' UserInfo (Maybe ByteString) Source #
The user's hashed password.
uiScreenName :: Lens' UserInfo (Maybe Text) Source #
User's screen name at Twitter or login name at Github.
IdentitytoolkitRelyingPartySetProjectConfigResponse
data IdentitytoolkitRelyingPartySetProjectConfigResponse Source #
Response of setting the project configuration.
See: identitytoolkitRelyingPartySetProjectConfigResponse
smart constructor.
Instances
identitytoolkitRelyingPartySetProjectConfigResponse :: IdentitytoolkitRelyingPartySetProjectConfigResponse Source #
Creates a value of IdentitytoolkitRelyingPartySetProjectConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpspcrProjectId :: Lens' IdentitytoolkitRelyingPartySetProjectConfigResponse (Maybe Text) Source #
Project ID of the relying party.
IdentitytoolkitRelyingPartyVerifyCustomTokenRequest
data IdentitytoolkitRelyingPartyVerifyCustomTokenRequest Source #
Request to verify a custom token
See: identitytoolkitRelyingPartyVerifyCustomTokenRequest
smart constructor.
Instances
identitytoolkitRelyingPartyVerifyCustomTokenRequest :: IdentitytoolkitRelyingPartyVerifyCustomTokenRequest Source #
Creates a value of IdentitytoolkitRelyingPartyVerifyCustomTokenRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpvctrInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Text) Source #
Instance id token of the app.
irpvctrDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpvctrToken :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Text) Source #
The custom token to verify
irpvctrReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyCustomTokenRequest (Maybe Bool) Source #
Whether return sts id token and refresh token instead of gitkit token.
SetAccountInfoResponseProviderUserInfoItem
data SetAccountInfoResponseProviderUserInfoItem Source #
Instances
setAccountInfoResponseProviderUserInfoItem :: SetAccountInfoResponseProviderUserInfoItem Source #
Creates a value of SetAccountInfoResponseProviderUserInfoItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sairpuiiProviderId :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text) Source #
The IdP ID. For whitelisted IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.
sairpuiiPhotoURL :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text) Source #
The user's photo url at the IDP.
sairpuiiFederatedId :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text) Source #
User's identifier at IDP.
sairpuiiDisplayName :: Lens' SetAccountInfoResponseProviderUserInfoItem (Maybe Text) Source #
The user's display name at the IDP.
IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
data IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter Source #
The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.
See: identitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
smart constructor.
Instances
identitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter Source #
Creates a value of IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpcaurcpAddtional :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter (HashMap Text Text) Source #
The customized query parameter.
IdentitytoolkitRelyingPartyVerifyPasswordRequest
data IdentitytoolkitRelyingPartyVerifyPasswordRequest Source #
Request to verify the password.
See: identitytoolkitRelyingPartyVerifyPasswordRequest
smart constructor.
Instances
identitytoolkitRelyingPartyVerifyPasswordRequest :: IdentitytoolkitRelyingPartyVerifyPasswordRequest Source #
Creates a value of IdentitytoolkitRelyingPartyVerifyPasswordRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpvprEmail :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
The email of the user.
irpvprInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
Instance id token of the app.
irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
The captcha challenge.
irpvprTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Word64) Source #
Tenant project number to be used for idp discovery.
irpvprDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpvprReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Bool) Source #
Whether return sts id token and refresh token instead of gitkit token.
irpvprTenantId :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.
irpvprPassword :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
The password inputed by the user.
irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
Response to the captcha.
irpvprIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
The GITKit token of the authenticated user.
irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text) Source #
The GITKit token for the non-trusted IDP, which is to be confirmed by the user.
IdentitytoolkitRelyingPartySendVerificationCodeRequest
data IdentitytoolkitRelyingPartySendVerificationCodeRequest Source #
Request for Identitytoolkit-SendVerificationCode
See: identitytoolkitRelyingPartySendVerificationCodeRequest
smart constructor.
Instances
identitytoolkitRelyingPartySendVerificationCodeRequest :: IdentitytoolkitRelyingPartySendVerificationCodeRequest Source #
Creates a value of IdentitytoolkitRelyingPartySendVerificationCodeRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpsvcrPhoneNumber :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text) Source #
The phone number to send the verification code to in E.164 format.
irpsvcrRecaptchaToken :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text) Source #
Recaptcha solution.
irpsvcrIosSecret :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text) Source #
Secret delivered to iOS app via APNS.
irpsvcrIosReceipt :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeRequest (Maybe Text) Source #
Receipt of successful app token validation with APNS.
SignupNewUserResponse
data SignupNewUserResponse Source #
Response of signing up new user, creating anonymous user or anonymous user reauth.
See: signupNewUserResponse
smart constructor.
Instances
signupNewUserResponse :: SignupNewUserResponse Source #
Creates a value of SignupNewUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snurKind :: Lens' SignupNewUserResponse Text Source #
The fixed string "identitytoolkit#SignupNewUserResponse".
snurRefreshToken :: Lens' SignupNewUserResponse (Maybe Text) Source #
If idToken is STS id token, then this field will be refresh token.
snurExpiresIn :: Lens' SignupNewUserResponse (Maybe Int64) Source #
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
snurDisplayName :: Lens' SignupNewUserResponse (Maybe Text) Source #
The name of the user.
snurLocalId :: Lens' SignupNewUserResponse (Maybe Text) Source #
The RP local ID of the user.
snurIdToken :: Lens' SignupNewUserResponse (Maybe Text) Source #
The Gitkit id token to login the newly sign up user.
IdentitytoolkitRelyingPartySetProjectConfigRequest
data IdentitytoolkitRelyingPartySetProjectConfigRequest Source #
Request to set the project configuration.
See: identitytoolkitRelyingPartySetProjectConfigRequest
smart constructor.
Instances
identitytoolkitRelyingPartySetProjectConfigRequest :: IdentitytoolkitRelyingPartySetProjectConfigRequest Source #
Creates a value of IdentitytoolkitRelyingPartySetProjectConfigRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpspcrAuthorizedDomains :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest [Text] Source #
Authorized domains for widget redirect.
irpspcrAPIKey :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Text) Source #
Browser API key, needed when making http request to Apiary.
irpspcrIdpConfig :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest [IdpConfig] Source #
Oauth2 provider configuration.
irpspcrChangeEmailTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate) Source #
Change email template.
irpspcrDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpspcrVerifyEmailTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate) Source #
Verify email template.
irpspcrEnableAnonymousUser :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool) Source #
Whether to enable anonymous user.
irpspcrLegacyResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate) Source #
Legacy reset password email template.
irpspcrAllowPasswordUser :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool) Source #
Whether to allow password user sign in or sign up.
irpspcrResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe EmailTemplate) Source #
Reset password email template.
irpspcrUseEmailSending :: Lens' IdentitytoolkitRelyingPartySetProjectConfigRequest (Maybe Bool) Source #
Whether to use email sending provided by Firebear.
IdentitytoolkitRelyingPartySetAccountInfoRequest
data IdentitytoolkitRelyingPartySetAccountInfoRequest Source #
Request to set the account information.
See: identitytoolkitRelyingPartySetAccountInfoRequest
smart constructor.
Instances
identitytoolkitRelyingPartySetAccountInfoRequest :: IdentitytoolkitRelyingPartySetAccountInfoRequest Source #
Creates a value of IdentitytoolkitRelyingPartySetAccountInfoRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpsairUpgradeToFederatedLogin
irpsairEmail
irpsairInstanceId
irpsairLastLoginAt
irpsairPhotoURL
irpsairCaptchaChallenge
irpsairCreatedAt
irpsairDelegatedProjectNumber
irpsairDeleteAttribute
irpsairDeleteProvider
irpsairReturnSecureToken
irpsairCustomAttributes
irpsairValidSince
irpsairOOBCode
irpsairPassword
irpsairCaptchaResponse
irpsairPhoneNumber
irpsairEmailVerified
irpsairDisplayName
irpsairDisableUser
irpsairLocalId
irpsairIdToken
irpsairProvider
irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool) Source #
Mark the user to upgrade to federated login.
irpsairEmail :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The email of the user.
irpsairInstanceId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
Instance id token of the app.
irpsairLastLoginAt :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64) Source #
Last login timestamp.
irpsairPhotoURL :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The photo url of the user.
irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The captcha challenge.
irpsairCreatedAt :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64) Source #
The timestamp when the account is created.
irpsairDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpsairDeleteAttribute :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text] Source #
The attributes users request to delete.
irpsairDeleteProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text] Source #
The IDPs the user request to delete.
irpsairReturnSecureToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool) Source #
Whether return sts id token and refresh token instead of gitkit token.
irpsairCustomAttributes :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The custom attributes to be set in the user's id token.
irpsairValidSince :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64) Source #
Timestamp in seconds for valid login token.
irpsairOOBCode :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The out-of-band code of the change email request.
irpsairPassword :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The new password of the user.
irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
Response to the captcha.
irpsairPhoneNumber :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
Privileged caller can update user with specified phone number.
irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool) Source #
Mark the email as verified or not.
irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The name of the user.
irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool) Source #
Whether to disable the user.
irpsairLocalId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The local ID of the user.
irpsairIdToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text) Source #
The GITKit token of the authenticated user.
irpsairProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text] Source #
The associated IDPs of the user.
IdentitytoolkitRelyingPartyVerifyAssertionRequest
data IdentitytoolkitRelyingPartyVerifyAssertionRequest Source #
Request to verify the IDP assertion.
See: identitytoolkitRelyingPartyVerifyAssertionRequest
smart constructor.
Instances
identitytoolkitRelyingPartyVerifyAssertionRequest :: IdentitytoolkitRelyingPartyVerifyAssertionRequest Source #
Creates a value of IdentitytoolkitRelyingPartyVerifyAssertionRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpvarReturnIdpCredential :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool) Source #
Whether return 200 and IDP credential rather than throw exception when federated id is already linked.
irpvarInstanceId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
Instance id token of the app.
irpvarTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Word64) Source #
Tenant project number to be used for idp discovery.
irpvarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
The post body if the request is a HTTP POST.
irpvarReturnSecureToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool) Source #
Whether return sts id token and refresh token instead of gitkit token.
irpvarTenantId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.
irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool) Source #
Whether to return refresh tokens.
irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP.
irpvarSessionId :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
Session ID, which should match the one in previous createAuthUri request.
irpvarAutoCreate :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool) Source #
When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist.
irpvarIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
The GITKit token of the authenticated user.
irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text) Source #
The GITKit token for the non-trusted IDP pending to be confirmed by the user.
EmailLinkSigninResponse
data EmailLinkSigninResponse Source #
Response of email signIn.
See: emailLinkSigninResponse
smart constructor.
Instances
emailLinkSigninResponse :: EmailLinkSigninResponse Source #
Creates a value of EmailLinkSigninResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
elsrIsNewUser :: Lens' EmailLinkSigninResponse (Maybe Bool) Source #
Whether the user is new.
elsrKind :: Lens' EmailLinkSigninResponse Text Source #
The fixed string "identitytoolkit#EmailLinkSigninResponse".
elsrRefreshToken :: Lens' EmailLinkSigninResponse (Maybe Text) Source #
The refresh token for the signed in user.
elsrExpiresIn :: Lens' EmailLinkSigninResponse (Maybe Int64) Source #
Expiration time of STS id token in seconds.
elsrLocalId :: Lens' EmailLinkSigninResponse (Maybe Text) Source #
The RP local ID of the user.
elsrIdToken :: Lens' EmailLinkSigninResponse (Maybe Text) Source #
The STS id token to login the newly signed in user.
DeleteAccountResponse
data DeleteAccountResponse Source #
Respone of deleting account.
See: deleteAccountResponse
smart constructor.
Instances
deleteAccountResponse :: DeleteAccountResponse Source #
Creates a value of DeleteAccountResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
darKind :: Lens' DeleteAccountResponse Text Source #
The fixed string "identitytoolkit#DeleteAccountResponse".
IdentitytoolkitRelyingPartySignOutUserResponse
data IdentitytoolkitRelyingPartySignOutUserResponse Source #
Response of signing out user.
See: identitytoolkitRelyingPartySignOutUserResponse
smart constructor.
Instances
identitytoolkitRelyingPartySignOutUserResponse :: IdentitytoolkitRelyingPartySignOutUserResponse Source #
Creates a value of IdentitytoolkitRelyingPartySignOutUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpsourLocalId :: Lens' IdentitytoolkitRelyingPartySignOutUserResponse (Maybe Text) Source #
The local ID of the user.
DownloadAccountResponse
data DownloadAccountResponse Source #
Response of downloading accounts in batch.
See: downloadAccountResponse
smart constructor.
Instances
downloadAccountResponse :: DownloadAccountResponse Source #
Creates a value of DownloadAccountResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dNextPageToken :: Lens' DownloadAccountResponse (Maybe Text) Source #
The next page token. To be used in a subsequent request to return the next page of results.
dKind :: Lens' DownloadAccountResponse Text Source #
The fixed string "identitytoolkit#DownloadAccountResponse".
IdentitytoolkitRelyingPartyGetProjectConfigResponse
data IdentitytoolkitRelyingPartyGetProjectConfigResponse Source #
Response of getting the project configuration.
See: identitytoolkitRelyingPartyGetProjectConfigResponse
smart constructor.
Instances
identitytoolkitRelyingPartyGetProjectConfigResponse :: IdentitytoolkitRelyingPartyGetProjectConfigResponse Source #
Creates a value of IdentitytoolkitRelyingPartyGetProjectConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpgpcrAuthorizedDomains :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse [Text] Source #
Authorized domains.
irpgpcrAPIKey :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text) Source #
Browser API key, needed when making http request to Apiary.
irpgpcrIdpConfig :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse [IdpConfig] Source #
OAuth2 provider configuration.
irpgpcrChangeEmailTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate) Source #
Change email template.
irpgpcrVerifyEmailTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate) Source #
Verify email template.
irpgpcrEnableAnonymousUser :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool) Source #
Whether anonymous user is enabled.
irpgpcrLegacyResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate) Source #
Legacy reset password email template.
irpgpcrAllowPasswordUser :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool) Source #
Whether to allow password user sign in or sign up.
irpgpcrResetPasswordTemplate :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe EmailTemplate) Source #
Reset password email template.
irpgpcrProjectId :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text) Source #
Project ID of the relying party.
irpgpcrUseEmailSending :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Bool) Source #
Whether to use email sending provided by Firebear.
irpgpcrDynamicLinksDomain :: Lens' IdentitytoolkitRelyingPartyGetProjectConfigResponse (Maybe Text) Source #
ResetPasswordResponse
data ResetPasswordResponse Source #
Response of resetting the password.
See: resetPasswordResponse
smart constructor.
Instances
resetPasswordResponse :: ResetPasswordResponse Source #
Creates a value of ResetPasswordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rprEmail :: Lens' ResetPasswordResponse (Maybe Text) Source #
The user's email. If the out-of-band code is for email recovery, the user's original email.
rprKind :: Lens' ResetPasswordResponse Text Source #
The fixed string "identitytoolkit#ResetPasswordResponse".
rprRequestType :: Lens' ResetPasswordResponse (Maybe Text) Source #
The request type.
rprNewEmail :: Lens' ResetPasswordResponse (Maybe Text) Source #
If the out-of-band code is for email recovery, the user's new email.
UploadAccountResponse
data UploadAccountResponse Source #
Respone of uploading accounts in batch.
See: uploadAccountResponse
smart constructor.
Instances
uploadAccountResponse :: UploadAccountResponse Source #
Creates a value of UploadAccountResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarKind :: Lens' UploadAccountResponse Text Source #
The fixed string "identitytoolkit#UploadAccountResponse".
uarError :: Lens' UploadAccountResponse [UploadAccountResponseErrorItem] Source #
The error encountered while processing the account info.
CreateAuthURIResponse
data CreateAuthURIResponse Source #
Response of creating the IDP authentication URL.
See: createAuthURIResponse
smart constructor.
Instances
createAuthURIResponse :: CreateAuthURIResponse Source #
Creates a value of CreateAuthURIResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caurProviderId :: Lens' CreateAuthURIResponse (Maybe Text) Source #
The provider ID of the auth URI.
caurKind :: Lens' CreateAuthURIResponse Text Source #
The fixed string identitytoolkit#CreateAuthUriResponse".
caurAllProviders :: Lens' CreateAuthURIResponse [Text] Source #
all providers the user has once used to do federated login
caurAuthURI :: Lens' CreateAuthURIResponse (Maybe Text) Source #
The URI used by the IDP to authenticate the user.
caurCaptchaRequired :: Lens' CreateAuthURIResponse (Maybe Bool) Source #
True if captcha is required.
caurSigninMethods :: Lens' CreateAuthURIResponse [Text] Source #
All sign-in methods this user has used.
caurRegistered :: Lens' CreateAuthURIResponse (Maybe Bool) Source #
Whether the user is registered if the identifier is an email.
caurSessionId :: Lens' CreateAuthURIResponse (Maybe Text) Source #
Session ID which should be passed in the following verifyAssertion request.
caurForExistingProvider :: Lens' CreateAuthURIResponse (Maybe Bool) Source #
True if the authUri is for user's existing provider.
IdentitytoolkitRelyingPartyGetPublicKeysResponse
data IdentitytoolkitRelyingPartyGetPublicKeysResponse Source #
Respone of getting public keys.
See: identitytoolkitRelyingPartyGetPublicKeysResponse
smart constructor.
Instances
identitytoolkitRelyingPartyGetPublicKeysResponse Source #
Creates a value of IdentitytoolkitRelyingPartyGetPublicKeysResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpgpkrAddtional :: Lens' IdentitytoolkitRelyingPartyGetPublicKeysResponse (HashMap Text Text) Source #
RelyingParty
data RelyingParty Source #
Request of getting a code for user confirmation (reset password, change email etc.)
See: relyingParty
smart constructor.
Instances
relyingParty :: RelyingParty Source #
Creates a value of RelyingParty
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpIOSBundleId :: Lens' RelyingParty (Maybe Text) Source #
the iOS bundle id of iOS app to handle the action code
rpContinueURL :: Lens' RelyingParty (Maybe Text) Source #
The url to continue to the Gitkit app
rpAndroidInstallApp :: Lens' RelyingParty (Maybe Bool) Source #
whether or not to install the android app on the device where the link is opened
rpIOSAppStoreId :: Lens' RelyingParty (Maybe Text) Source #
iOS app store id to download the app if it's not already installed
rpRequestType :: Lens' RelyingParty (Maybe Text) Source #
The request type.
rpAndroidMinimumVersion :: Lens' RelyingParty (Maybe Text) Source #
minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app
rpCanHandleCodeInApp :: Lens' RelyingParty (Maybe Bool) Source #
whether or not the app can handle the oob code without first going to web
rpCaptchaResp :: Lens' RelyingParty (Maybe Text) Source #
The recaptcha response from the user.
rpNewEmail :: Lens' RelyingParty (Maybe Text) Source #
The new email if the code is for email change.
rpChallenge :: Lens' RelyingParty (Maybe Text) Source #
The recaptcha challenge presented to the user.
rpIdToken :: Lens' RelyingParty (Maybe Text) Source #
The user's Gitkit login token for email change.
rpAndroidPackageName :: Lens' RelyingParty (Maybe Text) Source #
android package name of the android app to handle the action code
IdentitytoolkitRelyingPartyGetAccountInfoRequest
data IdentitytoolkitRelyingPartyGetAccountInfoRequest Source #
Request to get the account information.
See: identitytoolkitRelyingPartyGetAccountInfoRequest
smart constructor.
Instances
identitytoolkitRelyingPartyGetAccountInfoRequest :: IdentitytoolkitRelyingPartyGetAccountInfoRequest Source #
Creates a value of IdentitytoolkitRelyingPartyGetAccountInfoRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpgairEmail :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text] Source #
The list of emails of the users to inquiry.
irpgairDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpgairPhoneNumber :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text] Source #
Privileged caller can query users by specified phone number.
irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text] Source #
The list of local ID's of the users to inquiry.
irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Text) Source #
The GITKit token of the authenticated user.
EmailTemplate
data EmailTemplate Source #
Template for an email template.
See: emailTemplate
smart constructor.
Instances
emailTemplate :: EmailTemplate Source #
Creates a value of EmailTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
etFromDisplayName :: Lens' EmailTemplate (Maybe Text) Source #
From display name.
IdentitytoolkitRelyingPartyUploadAccountRequest
data IdentitytoolkitRelyingPartyUploadAccountRequest Source #
Request to upload user account in batch.
See: identitytoolkitRelyingPartyUploadAccountRequest
smart constructor.
Instances
identitytoolkitRelyingPartyUploadAccountRequest :: IdentitytoolkitRelyingPartyUploadAccountRequest Source #
Creates a value of IdentitytoolkitRelyingPartyUploadAccountRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpuarUsers :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest [UserInfo] Source #
The account info to be stored.
irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32) Source #
Memory cost for hash calculation. Used by scrypt similar algorithms.
irpuarAllowOverwrite :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Bool) Source #
Whether allow overwrite existing account when user local_id exists.
irpuarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpuarParallelization :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32) Source #
irpuarCPUMemCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32) Source #
The following 4 fields are for standard scrypt algorithm.
irpuarSanityCheck :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Bool) Source #
If true, backend will do sanity check(including duplicate email and federated id) when uploading account.
irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe ByteString) Source #
The salt separator.
irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text) Source #
The password hash algorithm.
irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe ByteString) Source #
The key for to hash the password.
irpuarRounds :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32) Source #
Rounds for hash calculation. Used by scrypt and similar algorithms.
irpuarTargetProjectId :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text) Source #
Specify which project (field value is actually project id) to operate. Only used when provided credential.
IdentitytoolkitRelyingPartyResetPasswordRequest
data IdentitytoolkitRelyingPartyResetPasswordRequest Source #
Request to reset the password.
See: identitytoolkitRelyingPartyResetPasswordRequest
smart constructor.
Instances
identitytoolkitRelyingPartyResetPasswordRequest :: IdentitytoolkitRelyingPartyResetPasswordRequest Source #
Creates a value of IdentitytoolkitRelyingPartyResetPasswordRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irprprEmail :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text) Source #
The email address of the user.
irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text) Source #
The new password inputted by the user.
irprprOOBCode :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text) Source #
The confirmation code.
irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text) Source #
The old password inputted by the user.
IdentitytoolkitRelyingPartyCreateAuthURIRequest
data IdentitytoolkitRelyingPartyCreateAuthURIRequest Source #
Request to get the IDP authentication URL.
See: identitytoolkitRelyingPartyCreateAuthURIRequest
smart constructor.
Instances
identitytoolkitRelyingPartyCreateAuthURIRequest :: IdentitytoolkitRelyingPartyCreateAuthURIRequest Source #
Creates a value of IdentitytoolkitRelyingPartyCreateAuthURIRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.
irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The relying party OAuth client ID.
irpcaurContext :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The opaque value used by the client to maintain context info between the authentication request and the IDP callback.
irpcaurCustomParameter :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe IdentitytoolkitRelyingPartyCreateAuthURIRequestCustomParameter) Source #
The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.
irpcaurTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Word64) Source #
Tenant project number to be used for idp discovery.
irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The email or federated ID of the user.
irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The native app package for OTA installation.
irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The developer's consumer key for OpenId OAuth Extension
irpcaurTenantId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.
irpcaurHostedDomain :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts.
irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, BUNDLE_ID for iOS.
irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The URI to which the IDP redirects the user after the federated login flow.
irpcaurAuthFlowType :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
Explicitly specify the auth flow type. Currently only support "CODE_FLOW" type. The field is only used for Google provider.
irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
Additional oauth scopes, beyond the basid user profile, that the user would be prompted to grant
irpcaurSessionId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
The session_id passed by client.
irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text) Source #
Optional realm for OpenID protocol. The sub string "scheme://domain:port" of the param "continueUri" is used if this is not set.
IdentitytoolkitRelyingPartySendVerificationCodeResponse
data IdentitytoolkitRelyingPartySendVerificationCodeResponse Source #
Response for Identitytoolkit-SendVerificationCode
See: identitytoolkitRelyingPartySendVerificationCodeResponse
smart constructor.
Instances
identitytoolkitRelyingPartySendVerificationCodeResponse :: IdentitytoolkitRelyingPartySendVerificationCodeResponse Source #
Creates a value of IdentitytoolkitRelyingPartySendVerificationCodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpsvcrSessionInfo :: Lens' IdentitytoolkitRelyingPartySendVerificationCodeResponse (Maybe Text) Source #
Encrypted session information
GetAccountInfoResponse
data GetAccountInfoResponse Source #
Response of getting account information.
See: getAccountInfoResponse
smart constructor.
Instances
getAccountInfoResponse :: GetAccountInfoResponse Source #
Creates a value of GetAccountInfoResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gairKind :: Lens' GetAccountInfoResponse Text Source #
The fixed string "identitytoolkit#GetAccountInfoResponse".
IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest
data IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest Source #
Request for Identitytoolkit-VerifyPhoneNumber
See: identitytoolkitRelyingPartyVerifyPhoneNumberRequest
smart constructor.
Instances
identitytoolkitRelyingPartyVerifyPhoneNumberRequest :: IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest Source #
Creates a value of IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iVerificationProof :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text) Source #
iSessionInfo :: Lens' IdentitytoolkitRelyingPartyVerifyPhoneNumberRequest (Maybe Text) Source #
The session info previously returned by IdentityToolkit-SendVerificationCode.
IdentitytoolkitRelyingPartyEmailLinkSigninRequest
data IdentitytoolkitRelyingPartyEmailLinkSigninRequest Source #
Request to sign in with email.
See: identitytoolkitRelyingPartyEmailLinkSigninRequest
smart constructor.
Instances
identitytoolkitRelyingPartyEmailLinkSigninRequest :: IdentitytoolkitRelyingPartyEmailLinkSigninRequest Source #
Creates a value of IdentitytoolkitRelyingPartyEmailLinkSigninRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpelsrEmail :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text) Source #
The email address of the user.
irpelsrOOBCode :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text) Source #
The confirmation code.
irpelsrIdToken :: Lens' IdentitytoolkitRelyingPartyEmailLinkSigninRequest (Maybe Text) Source #
Token for linking flow.
IdentitytoolkitRelyingPartyDeleteAccountRequest
data IdentitytoolkitRelyingPartyDeleteAccountRequest Source #
Request to delete account.
See: identitytoolkitRelyingPartyDeleteAccountRequest
smart constructor.
Instances
identitytoolkitRelyingPartyDeleteAccountRequest :: IdentitytoolkitRelyingPartyDeleteAccountRequest Source #
Creates a value of IdentitytoolkitRelyingPartyDeleteAccountRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpdarDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text) Source #
The local ID of the user.
irpdarIdToken :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text) Source #
The GITKit token or STS id token of the authenticated user.
GetOOBConfirmationCodeResponse
data GetOOBConfirmationCodeResponse Source #
Response of getting a code for user confirmation (reset password, change email etc.).
See: getOOBConfirmationCodeResponse
smart constructor.
Instances
getOOBConfirmationCodeResponse :: GetOOBConfirmationCodeResponse Source #
Creates a value of GetOOBConfirmationCodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goobccrEmail :: Lens' GetOOBConfirmationCodeResponse (Maybe Text) Source #
The email address that the email is sent to.
goobccrKind :: Lens' GetOOBConfirmationCodeResponse Text Source #
The fixed string "identitytoolkit#GetOobConfirmationCodeResponse".
goobccrOOBCode :: Lens' GetOOBConfirmationCodeResponse (Maybe Text) Source #
The code to be send to the user.
IdentitytoolkitRelyingPartyDownloadAccountRequest
data IdentitytoolkitRelyingPartyDownloadAccountRequest Source #
Request to download user account in batch.
See: identitytoolkitRelyingPartyDownloadAccountRequest
smart constructor.
Instances
identitytoolkitRelyingPartyDownloadAccountRequest :: IdentitytoolkitRelyingPartyDownloadAccountRequest Source #
Creates a value of IdentitytoolkitRelyingPartyDownloadAccountRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iNextPageToken :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text) Source #
The token for the next page. This should be taken from the previous response.
iDelegatedProjectNumber :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Int64) Source #
GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
iMaxResults :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Word32) Source #
The max number of results to return in the response.
iTargetProjectId :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text) Source #
Specify which project (field value is actually project id) to operate. Only used when provided credential.
VerifyPasswordResponse
data VerifyPasswordResponse Source #
Request of verifying the password.
See: verifyPasswordResponse
smart constructor.
Instances
verifyPasswordResponse :: VerifyPasswordResponse Source #
Creates a value of VerifyPasswordResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vprEmail :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The email returned by the IdP. NOTE: The federated login user may not own the email.
vprPhotoURL :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The URI of the user's photo at IdP
vprOAuthAccessToken :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The OAuth2 access token.
vprKind :: Lens' VerifyPasswordResponse Text Source #
The fixed string "identitytoolkit#VerifyPasswordResponse".
vprOAuthExpireIn :: Lens' VerifyPasswordResponse (Maybe Int32) Source #
The lifetime in seconds of the OAuth2 access token.
vprRefreshToken :: Lens' VerifyPasswordResponse (Maybe Text) Source #
If idToken is STS id token, then this field will be refresh token.
vprExpiresIn :: Lens' VerifyPasswordResponse (Maybe Int64) Source #
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
vprDisplayName :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The name of the user.
vprLocalId :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
vprRegistered :: Lens' VerifyPasswordResponse (Maybe Bool) Source #
Whether the email is registered.
vprIdToken :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The GITKit token for authenticated user.
vprOAuthAuthorizationCode :: Lens' VerifyPasswordResponse (Maybe Text) Source #
The OAuth2 authorization code.
SetAccountInfoResponse
data SetAccountInfoResponse Source #
Respone of setting the account information.
See: setAccountInfoResponse
smart constructor.
Instances
setAccountInfoResponse :: SetAccountInfoResponse Source #
Creates a value of SetAccountInfoResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sairPhotoURL :: Lens' SetAccountInfoResponse (Maybe Text) Source #
The photo url of the user.
sairKind :: Lens' SetAccountInfoResponse Text Source #
The fixed string "identitytoolkit#SetAccountInfoResponse".
sairRefreshToken :: Lens' SetAccountInfoResponse (Maybe Text) Source #
If idToken is STS id token, then this field will be refresh token.
sairProviderUserInfo :: Lens' SetAccountInfoResponse [SetAccountInfoResponseProviderUserInfoItem] Source #
The user's profiles at the associated IdPs.
sairExpiresIn :: Lens' SetAccountInfoResponse (Maybe Int64) Source #
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
sairEmailVerified :: Lens' SetAccountInfoResponse (Maybe Bool) Source #
If email has been verified.
sairDisplayName :: Lens' SetAccountInfoResponse (Maybe Text) Source #
The name of the user.
sairPasswordHash :: Lens' SetAccountInfoResponse (Maybe ByteString) Source #
The user's hashed password.
sairLocalId :: Lens' SetAccountInfoResponse (Maybe Text) Source #
The local ID of the user.
sairNewEmail :: Lens' SetAccountInfoResponse (Maybe Text) Source #
The new email the user attempts to change to.
sairIdToken :: Lens' SetAccountInfoResponse (Maybe Text) Source #
The Gitkit id token to login the newly sign up user.
IdentitytoolkitRelyingPartySignupNewUserRequest
data IdentitytoolkitRelyingPartySignupNewUserRequest Source #
Request to signup new user, create anonymous user or anonymous user reauth.
See: identitytoolkitRelyingPartySignupNewUserRequest
smart constructor.
Instances
identitytoolkitRelyingPartySignupNewUserRequest :: IdentitytoolkitRelyingPartySignupNewUserRequest Source #
Creates a value of IdentitytoolkitRelyingPartySignupNewUserRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpsnurEmail :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The email of the user.
irpsnurInstanceId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
Instance id token of the app.
irpsnurPhotoURL :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The photo url of the user.
irpsnurCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The captcha challenge.
irpsnurTenantProjectNumber :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Word64) Source #
Tenant project number to be used for idp discovery.
irpsnurDisabled :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Bool) Source #
Whether to disable the user. Only can be used by service account.
irpsnurTenantId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.
irpsnurPassword :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The new password of the user.
irpsnurCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
Response to the captcha.
irpsnurPhoneNumber :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
Privileged caller can create user with specified phone number.
irpsnurEmailVerified :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Bool) Source #
Mark the email as verified or not. Only can be used by service account.
irpsnurDisplayName :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The name of the user.
irpsnurLocalId :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
Privileged caller can create user with specified user id.
irpsnurIdToken :: Lens' IdentitytoolkitRelyingPartySignupNewUserRequest (Maybe Text) Source #
The GITKit token of the authenticated user.
VerifyAssertionResponse
data VerifyAssertionResponse Source #
Response of verifying the IDP assertion.
See: verifyAssertionResponse
smart constructor.
Instances
verifyAssertionResponse :: VerifyAssertionResponse Source #
Creates a value of VerifyAssertionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
varProviderId
varFullName
varEmail
varIsNewUser
varEmailRecycled
varPhotoURL
varVerifiedProvider
varContext
varNeedConfirmation
varOriginalEmail
varLastName
varOAuthAccessToken
varDateOfBirth
varKind
varRawUserInfo
varOAuthExpireIn
varRefreshToken
varAppInstallationURL
varAction
varNeedEmail
varFederatedId
varOAuthIdToken
varAppScheme
varExpiresIn
varInputEmail
varEmailVerified
varOAuthTokenSecret
varLanguage
varFirstName
varDisplayName
varOAuthRequestToken
varOAuthScope
varNickName
varLocalId
varTimeZone
varScreenName
varErrorMessage
varIdToken
varOAuthAuthorizationCode
varProviderId :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID OP identifer other than the whilte listed IdPs the OP identifier is returned. If the "identifier" param is federated ID in the createAuthUri request. The domain part of the federated ID is returned.
varFullName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The full name of the user.
varEmail :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The email returned by the IdP. NOTE: The federated login user may not own the email.
varIsNewUser :: Lens' VerifyAssertionResponse (Maybe Bool) Source #
True if it's a new user sign-in, false if it's a returning user.
varEmailRecycled :: Lens' VerifyAssertionResponse (Maybe Bool) Source #
It's true if the email is recycled.
varPhotoURL :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The URI of the public accessible profiel picture.
varVerifiedProvider :: Lens' VerifyAssertionResponse [Text] Source #
When action is 'map', contains the idps which can be used for confirmation.
varContext :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The opaque value used by the client to maintain context info between the authentication request and the IDP callback.
varNeedConfirmation :: Lens' VerifyAssertionResponse (Maybe Bool) Source #
Whether the assertion is from a non-trusted IDP and need account linking confirmation.
varOriginalEmail :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The original email stored in the mapping storage. It's returned when the federated ID is associated to a different email.
varLastName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The last name of the user.
varOAuthAccessToken :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The OAuth2 access token.
varDateOfBirth :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The birth date of the IdP account.
varKind :: Lens' VerifyAssertionResponse Text Source #
The fixed string "identitytoolkit#VerifyAssertionResponse".
varRawUserInfo :: Lens' VerifyAssertionResponse (Maybe Text) Source #
Raw IDP-returned user info.
varOAuthExpireIn :: Lens' VerifyAssertionResponse (Maybe Int32) Source #
The lifetime in seconds of the OAuth2 access token.
varRefreshToken :: Lens' VerifyAssertionResponse (Maybe Text) Source #
If idToken is STS id token, then this field will be refresh token.
varAppInstallationURL :: Lens' VerifyAssertionResponse (Maybe Text) Source #
URL for OTA app installation.
varNeedEmail :: Lens' VerifyAssertionResponse (Maybe Bool) Source #
Whether need client to supply email to complete the federated login flow.
varFederatedId :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The unique ID identifies the IdP account.
varOAuthIdToken :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The OIDC id token.
varAppScheme :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The custom scheme used by mobile app.
varExpiresIn :: Lens' VerifyAssertionResponse (Maybe Int64) Source #
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
varInputEmail :: Lens' VerifyAssertionResponse (Maybe Text) Source #
It's the identifier param in the createAuthUri request if the identifier is an email. It can be used to check whether the user input email is different from the asserted email.
varEmailVerified :: Lens' VerifyAssertionResponse (Maybe Bool) Source #
The value is true if the IDP is also the email provider. It means the user owns the email.
varOAuthTokenSecret :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The OAuth1 access token secret.
varLanguage :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The language preference of the user.
varFirstName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The first name of the user.
varDisplayName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The display name of the user.
varOAuthRequestToken :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The user approved request token for the OpenID OAuth extension.
varOAuthScope :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The scope for the OpenID OAuth extension.
varNickName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The nick name of the user.
varLocalId :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
varTimeZone :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The timezone of the user.
varScreenName :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The screen_name of a Twitter user or the login name at Github.
varErrorMessage :: Lens' VerifyAssertionResponse (Maybe Text) Source #
Client error code.
varIdToken :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The ID token.
varOAuthAuthorizationCode :: Lens' VerifyAssertionResponse (Maybe Text) Source #
The OAuth2 authorization code.
IdentitytoolkitRelyingPartySignOutUserRequest
data IdentitytoolkitRelyingPartySignOutUserRequest Source #
Request to sign out user.
See: identitytoolkitRelyingPartySignOutUserRequest
smart constructor.
Instances
identitytoolkitRelyingPartySignOutUserRequest :: IdentitytoolkitRelyingPartySignOutUserRequest Source #
Creates a value of IdentitytoolkitRelyingPartySignOutUserRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iInstanceId :: Lens' IdentitytoolkitRelyingPartySignOutUserRequest (Maybe Text) Source #
Instance id token of the app.
iLocalId :: Lens' IdentitytoolkitRelyingPartySignOutUserRequest (Maybe Text) Source #
The local ID of the user.
GetRecaptchaParamResponse
data GetRecaptchaParamResponse Source #
Response of getting recaptcha param.
See: getRecaptchaParamResponse
smart constructor.
Instances
getRecaptchaParamResponse :: GetRecaptchaParamResponse Source #
Creates a value of GetRecaptchaParamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grprRecaptchaSiteKey :: Lens' GetRecaptchaParamResponse (Maybe Text) Source #
Site key registered at recaptcha.
grprKind :: Lens' GetRecaptchaParamResponse Text Source #
The fixed string "identitytoolkit#GetRecaptchaParamResponse".
grprRecaptchaStoken :: Lens' GetRecaptchaParamResponse (Maybe Text) Source #
The stoken field for the recaptcha widget, used to request captcha challenge.