| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.identitytoolkit.v3; | 3 library googleapis.identitytoolkit.v3; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
| 7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
| 8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
| 9 | 9 |
| 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| (...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1012 } | 1012 } |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 /** Request to get the IDP authentication URL. */ | 1015 /** Request to get the IDP authentication URL. */ |
| 1016 class IdentitytoolkitRelyingpartyCreateAuthUriRequest { | 1016 class IdentitytoolkitRelyingpartyCreateAuthUriRequest { |
| 1017 /** | 1017 /** |
| 1018 * The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, | 1018 * The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, |
| 1019 * BUNDLE_ID for iOS. | 1019 * BUNDLE_ID for iOS. |
| 1020 */ | 1020 */ |
| 1021 core.String appId; | 1021 core.String appId; |
| 1022 /** |
| 1023 * Explicitly specify the auth flow type. Currently only support "CODE_FLOW" |
| 1024 * type. The field is only used for Google provider. |
| 1025 */ |
| 1026 core.String authFlowType; |
| 1022 /** The relying party OAuth client ID. */ | 1027 /** The relying party OAuth client ID. */ |
| 1023 core.String clientId; | 1028 core.String clientId; |
| 1024 /** | 1029 /** |
| 1025 * The opaque value used by the client to maintain context info between the | 1030 * The opaque value used by the client to maintain context info between the |
| 1026 * authentication request and the IDP callback. | 1031 * authentication request and the IDP callback. |
| 1027 */ | 1032 */ |
| 1028 core.String context; | 1033 core.String context; |
| 1029 /** | 1034 /** |
| 1030 * The URI to which the IDP redirects the user after the federated login flow. | 1035 * The URI to which the IDP redirects the user after the federated login flow. |
| 1031 */ | 1036 */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1050 */ | 1055 */ |
| 1051 core.String openidRealm; | 1056 core.String openidRealm; |
| 1052 /** The native app package for OTA installation. */ | 1057 /** The native app package for OTA installation. */ |
| 1053 core.String otaApp; | 1058 core.String otaApp; |
| 1054 /** | 1059 /** |
| 1055 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, | 1060 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, |
| 1056 * aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP | 1061 * aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP |
| 1057 * identifier. | 1062 * identifier. |
| 1058 */ | 1063 */ |
| 1059 core.String providerId; | 1064 core.String providerId; |
| 1065 /** The session_id passed by client. */ |
| 1066 core.String sessionId; |
| 1060 | 1067 |
| 1061 IdentitytoolkitRelyingpartyCreateAuthUriRequest(); | 1068 IdentitytoolkitRelyingpartyCreateAuthUriRequest(); |
| 1062 | 1069 |
| 1063 IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJson(core.Map _json) { | 1070 IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJson(core.Map _json) { |
| 1064 if (_json.containsKey("appId")) { | 1071 if (_json.containsKey("appId")) { |
| 1065 appId = _json["appId"]; | 1072 appId = _json["appId"]; |
| 1066 } | 1073 } |
| 1074 if (_json.containsKey("authFlowType")) { |
| 1075 authFlowType = _json["authFlowType"]; |
| 1076 } |
| 1067 if (_json.containsKey("clientId")) { | 1077 if (_json.containsKey("clientId")) { |
| 1068 clientId = _json["clientId"]; | 1078 clientId = _json["clientId"]; |
| 1069 } | 1079 } |
| 1070 if (_json.containsKey("context")) { | 1080 if (_json.containsKey("context")) { |
| 1071 context = _json["context"]; | 1081 context = _json["context"]; |
| 1072 } | 1082 } |
| 1073 if (_json.containsKey("continueUri")) { | 1083 if (_json.containsKey("continueUri")) { |
| 1074 continueUri = _json["continueUri"]; | 1084 continueUri = _json["continueUri"]; |
| 1075 } | 1085 } |
| 1076 if (_json.containsKey("hostedDomain")) { | 1086 if (_json.containsKey("hostedDomain")) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1087 } | 1097 } |
| 1088 if (_json.containsKey("openidRealm")) { | 1098 if (_json.containsKey("openidRealm")) { |
| 1089 openidRealm = _json["openidRealm"]; | 1099 openidRealm = _json["openidRealm"]; |
| 1090 } | 1100 } |
| 1091 if (_json.containsKey("otaApp")) { | 1101 if (_json.containsKey("otaApp")) { |
| 1092 otaApp = _json["otaApp"]; | 1102 otaApp = _json["otaApp"]; |
| 1093 } | 1103 } |
| 1094 if (_json.containsKey("providerId")) { | 1104 if (_json.containsKey("providerId")) { |
| 1095 providerId = _json["providerId"]; | 1105 providerId = _json["providerId"]; |
| 1096 } | 1106 } |
| 1107 if (_json.containsKey("sessionId")) { |
| 1108 sessionId = _json["sessionId"]; |
| 1109 } |
| 1097 } | 1110 } |
| 1098 | 1111 |
| 1099 core.Map toJson() { | 1112 core.Map toJson() { |
| 1100 var _json = new core.Map(); | 1113 var _json = new core.Map(); |
| 1101 if (appId != null) { | 1114 if (appId != null) { |
| 1102 _json["appId"] = appId; | 1115 _json["appId"] = appId; |
| 1103 } | 1116 } |
| 1117 if (authFlowType != null) { |
| 1118 _json["authFlowType"] = authFlowType; |
| 1119 } |
| 1104 if (clientId != null) { | 1120 if (clientId != null) { |
| 1105 _json["clientId"] = clientId; | 1121 _json["clientId"] = clientId; |
| 1106 } | 1122 } |
| 1107 if (context != null) { | 1123 if (context != null) { |
| 1108 _json["context"] = context; | 1124 _json["context"] = context; |
| 1109 } | 1125 } |
| 1110 if (continueUri != null) { | 1126 if (continueUri != null) { |
| 1111 _json["continueUri"] = continueUri; | 1127 _json["continueUri"] = continueUri; |
| 1112 } | 1128 } |
| 1113 if (hostedDomain != null) { | 1129 if (hostedDomain != null) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1124 } | 1140 } |
| 1125 if (openidRealm != null) { | 1141 if (openidRealm != null) { |
| 1126 _json["openidRealm"] = openidRealm; | 1142 _json["openidRealm"] = openidRealm; |
| 1127 } | 1143 } |
| 1128 if (otaApp != null) { | 1144 if (otaApp != null) { |
| 1129 _json["otaApp"] = otaApp; | 1145 _json["otaApp"] = otaApp; |
| 1130 } | 1146 } |
| 1131 if (providerId != null) { | 1147 if (providerId != null) { |
| 1132 _json["providerId"] = providerId; | 1148 _json["providerId"] = providerId; |
| 1133 } | 1149 } |
| 1150 if (sessionId != null) { |
| 1151 _json["sessionId"] = sessionId; |
| 1152 } |
| 1134 return _json; | 1153 return _json; |
| 1135 } | 1154 } |
| 1136 } | 1155 } |
| 1137 | 1156 |
| 1138 /** Request to delete account. */ | 1157 /** Request to delete account. */ |
| 1139 class IdentitytoolkitRelyingpartyDeleteAccountRequest { | 1158 class IdentitytoolkitRelyingpartyDeleteAccountRequest { |
| 1140 /** | 1159 /** |
| 1141 * GCP project number of the requesting delegated app. Currently only intended | 1160 * GCP project number of the requesting delegated app. Currently only intended |
| 1142 * for Firebase V1 migration. | 1161 * for Firebase V1 migration. |
| 1143 */ | 1162 */ |
| (...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1993 * user. | 2012 * user. |
| 1994 */ | 2013 */ |
| 1995 core.String pendingIdToken; | 2014 core.String pendingIdToken; |
| 1996 /** The post body if the request is a HTTP POST. */ | 2015 /** The post body if the request is a HTTP POST. */ |
| 1997 core.String postBody; | 2016 core.String postBody; |
| 1998 /** | 2017 /** |
| 1999 * The URI to which the IDP redirects the user back. It may contain federated | 2018 * The URI to which the IDP redirects the user back. It may contain federated |
| 2000 * login result params added by the IDP. | 2019 * login result params added by the IDP. |
| 2001 */ | 2020 */ |
| 2002 core.String requestUri; | 2021 core.String requestUri; |
| 2022 /** |
| 2023 * Whether return 200 and IDP credential rather than throw exception when |
| 2024 * federated id is already linked. |
| 2025 */ |
| 2026 core.bool returnIdpCredential; |
| 2003 /** Whether to return refresh tokens. */ | 2027 /** Whether to return refresh tokens. */ |
| 2004 core.bool returnRefreshToken; | 2028 core.bool returnRefreshToken; |
| 2005 /** Whether return sts id token and refresh token instead of gitkit token. */ | 2029 /** Whether return sts id token and refresh token instead of gitkit token. */ |
| 2006 core.bool returnSecureToken; | 2030 core.bool returnSecureToken; |
| 2007 /** | 2031 /** |
| 2008 * Session ID, which should match the one in previous createAuthUri request. | 2032 * Session ID, which should match the one in previous createAuthUri request. |
| 2009 */ | 2033 */ |
| 2010 core.String sessionId; | 2034 core.String sessionId; |
| 2011 | 2035 |
| 2012 IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 2036 IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2023 } | 2047 } |
| 2024 if (_json.containsKey("pendingIdToken")) { | 2048 if (_json.containsKey("pendingIdToken")) { |
| 2025 pendingIdToken = _json["pendingIdToken"]; | 2049 pendingIdToken = _json["pendingIdToken"]; |
| 2026 } | 2050 } |
| 2027 if (_json.containsKey("postBody")) { | 2051 if (_json.containsKey("postBody")) { |
| 2028 postBody = _json["postBody"]; | 2052 postBody = _json["postBody"]; |
| 2029 } | 2053 } |
| 2030 if (_json.containsKey("requestUri")) { | 2054 if (_json.containsKey("requestUri")) { |
| 2031 requestUri = _json["requestUri"]; | 2055 requestUri = _json["requestUri"]; |
| 2032 } | 2056 } |
| 2057 if (_json.containsKey("returnIdpCredential")) { |
| 2058 returnIdpCredential = _json["returnIdpCredential"]; |
| 2059 } |
| 2033 if (_json.containsKey("returnRefreshToken")) { | 2060 if (_json.containsKey("returnRefreshToken")) { |
| 2034 returnRefreshToken = _json["returnRefreshToken"]; | 2061 returnRefreshToken = _json["returnRefreshToken"]; |
| 2035 } | 2062 } |
| 2036 if (_json.containsKey("returnSecureToken")) { | 2063 if (_json.containsKey("returnSecureToken")) { |
| 2037 returnSecureToken = _json["returnSecureToken"]; | 2064 returnSecureToken = _json["returnSecureToken"]; |
| 2038 } | 2065 } |
| 2039 if (_json.containsKey("sessionId")) { | 2066 if (_json.containsKey("sessionId")) { |
| 2040 sessionId = _json["sessionId"]; | 2067 sessionId = _json["sessionId"]; |
| 2041 } | 2068 } |
| 2042 } | 2069 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2054 } | 2081 } |
| 2055 if (pendingIdToken != null) { | 2082 if (pendingIdToken != null) { |
| 2056 _json["pendingIdToken"] = pendingIdToken; | 2083 _json["pendingIdToken"] = pendingIdToken; |
| 2057 } | 2084 } |
| 2058 if (postBody != null) { | 2085 if (postBody != null) { |
| 2059 _json["postBody"] = postBody; | 2086 _json["postBody"] = postBody; |
| 2060 } | 2087 } |
| 2061 if (requestUri != null) { | 2088 if (requestUri != null) { |
| 2062 _json["requestUri"] = requestUri; | 2089 _json["requestUri"] = requestUri; |
| 2063 } | 2090 } |
| 2091 if (returnIdpCredential != null) { |
| 2092 _json["returnIdpCredential"] = returnIdpCredential; |
| 2093 } |
| 2064 if (returnRefreshToken != null) { | 2094 if (returnRefreshToken != null) { |
| 2065 _json["returnRefreshToken"] = returnRefreshToken; | 2095 _json["returnRefreshToken"] = returnRefreshToken; |
| 2066 } | 2096 } |
| 2067 if (returnSecureToken != null) { | 2097 if (returnSecureToken != null) { |
| 2068 _json["returnSecureToken"] = returnSecureToken; | 2098 _json["returnSecureToken"] = returnSecureToken; |
| 2069 } | 2099 } |
| 2070 if (sessionId != null) { | 2100 if (sessionId != null) { |
| 2071 _json["sessionId"] = sessionId; | 2101 _json["sessionId"] = sessionId; |
| 2072 } | 2102 } |
| 2073 return _json; | 2103 return _json; |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2697 /** The user's photo url at the IDP. */ | 2727 /** The user's photo url at the IDP. */ |
| 2698 core.String photoUrl; | 2728 core.String photoUrl; |
| 2699 /** | 2729 /** |
| 2700 * The IdP ID. For white listed IdPs it's a short domain name, e.g., | 2730 * The IdP ID. For white listed IdPs it's a short domain name, e.g., |
| 2701 * google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the | 2731 * google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the |
| 2702 * OP identifier. | 2732 * OP identifier. |
| 2703 */ | 2733 */ |
| 2704 core.String providerId; | 2734 core.String providerId; |
| 2705 /** User's raw identifier directly returned from IDP. */ | 2735 /** User's raw identifier directly returned from IDP. */ |
| 2706 core.String rawId; | 2736 core.String rawId; |
| 2737 /** Raw IDP-returned user info. */ |
| 2738 core.String rawUserInfo; |
| 2739 /** User's screen name at Twitter. */ |
| 2740 core.String screenName; |
| 2707 | 2741 |
| 2708 UserInfoProviderUserInfo(); | 2742 UserInfoProviderUserInfo(); |
| 2709 | 2743 |
| 2710 UserInfoProviderUserInfo.fromJson(core.Map _json) { | 2744 UserInfoProviderUserInfo.fromJson(core.Map _json) { |
| 2711 if (_json.containsKey("displayName")) { | 2745 if (_json.containsKey("displayName")) { |
| 2712 displayName = _json["displayName"]; | 2746 displayName = _json["displayName"]; |
| 2713 } | 2747 } |
| 2714 if (_json.containsKey("email")) { | 2748 if (_json.containsKey("email")) { |
| 2715 email = _json["email"]; | 2749 email = _json["email"]; |
| 2716 } | 2750 } |
| 2717 if (_json.containsKey("federatedId")) { | 2751 if (_json.containsKey("federatedId")) { |
| 2718 federatedId = _json["federatedId"]; | 2752 federatedId = _json["federatedId"]; |
| 2719 } | 2753 } |
| 2720 if (_json.containsKey("photoUrl")) { | 2754 if (_json.containsKey("photoUrl")) { |
| 2721 photoUrl = _json["photoUrl"]; | 2755 photoUrl = _json["photoUrl"]; |
| 2722 } | 2756 } |
| 2723 if (_json.containsKey("providerId")) { | 2757 if (_json.containsKey("providerId")) { |
| 2724 providerId = _json["providerId"]; | 2758 providerId = _json["providerId"]; |
| 2725 } | 2759 } |
| 2726 if (_json.containsKey("rawId")) { | 2760 if (_json.containsKey("rawId")) { |
| 2727 rawId = _json["rawId"]; | 2761 rawId = _json["rawId"]; |
| 2728 } | 2762 } |
| 2763 if (_json.containsKey("rawUserInfo")) { |
| 2764 rawUserInfo = _json["rawUserInfo"]; |
| 2765 } |
| 2766 if (_json.containsKey("screenName")) { |
| 2767 screenName = _json["screenName"]; |
| 2768 } |
| 2729 } | 2769 } |
| 2730 | 2770 |
| 2731 core.Map toJson() { | 2771 core.Map toJson() { |
| 2732 var _json = new core.Map(); | 2772 var _json = new core.Map(); |
| 2733 if (displayName != null) { | 2773 if (displayName != null) { |
| 2734 _json["displayName"] = displayName; | 2774 _json["displayName"] = displayName; |
| 2735 } | 2775 } |
| 2736 if (email != null) { | 2776 if (email != null) { |
| 2737 _json["email"] = email; | 2777 _json["email"] = email; |
| 2738 } | 2778 } |
| 2739 if (federatedId != null) { | 2779 if (federatedId != null) { |
| 2740 _json["federatedId"] = federatedId; | 2780 _json["federatedId"] = federatedId; |
| 2741 } | 2781 } |
| 2742 if (photoUrl != null) { | 2782 if (photoUrl != null) { |
| 2743 _json["photoUrl"] = photoUrl; | 2783 _json["photoUrl"] = photoUrl; |
| 2744 } | 2784 } |
| 2745 if (providerId != null) { | 2785 if (providerId != null) { |
| 2746 _json["providerId"] = providerId; | 2786 _json["providerId"] = providerId; |
| 2747 } | 2787 } |
| 2748 if (rawId != null) { | 2788 if (rawId != null) { |
| 2749 _json["rawId"] = rawId; | 2789 _json["rawId"] = rawId; |
| 2750 } | 2790 } |
| 2791 if (rawUserInfo != null) { |
| 2792 _json["rawUserInfo"] = rawUserInfo; |
| 2793 } |
| 2794 if (screenName != null) { |
| 2795 _json["screenName"] = screenName; |
| 2796 } |
| 2751 return _json; | 2797 return _json; |
| 2752 } | 2798 } |
| 2753 } | 2799 } |
| 2754 | 2800 |
| 2755 /** Template for an individual account info. */ | 2801 /** Template for an individual account info. */ |
| 2756 class UserInfo { | 2802 class UserInfo { |
| 2757 /** User creation timestamp. */ | 2803 /** User creation timestamp. */ |
| 2758 core.String createdAt; | 2804 core.String createdAt; |
| 2759 /** Whether the user is disabled. */ | 2805 /** Whether the user is disabled. */ |
| 2760 core.bool disabled; | 2806 core.bool disabled; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2785 core.List<UserInfoProviderUserInfo> providerUserInfo; | 2831 core.List<UserInfoProviderUserInfo> providerUserInfo; |
| 2786 /** The user's password salt. */ | 2832 /** The user's password salt. */ |
| 2787 core.String salt; | 2833 core.String salt; |
| 2788 core.List<core.int> get saltAsBytes { | 2834 core.List<core.int> get saltAsBytes { |
| 2789 return convert.BASE64.decode(salt); | 2835 return convert.BASE64.decode(salt); |
| 2790 } | 2836 } |
| 2791 | 2837 |
| 2792 void set saltAsBytes(core.List<core.int> _bytes) { | 2838 void set saltAsBytes(core.List<core.int> _bytes) { |
| 2793 salt = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-
"); | 2839 salt = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-
"); |
| 2794 } | 2840 } |
| 2841 /** User's screen name at Twitter. */ |
| 2842 core.String screenName; |
| 2795 /** Timestamp in seconds for valid login token. */ | 2843 /** Timestamp in seconds for valid login token. */ |
| 2796 core.String validSince; | 2844 core.String validSince; |
| 2797 /** Version of the user's password. */ | 2845 /** Version of the user's password. */ |
| 2798 core.int version; | 2846 core.int version; |
| 2799 | 2847 |
| 2800 UserInfo(); | 2848 UserInfo(); |
| 2801 | 2849 |
| 2802 UserInfo.fromJson(core.Map _json) { | 2850 UserInfo.fromJson(core.Map _json) { |
| 2803 if (_json.containsKey("createdAt")) { | 2851 if (_json.containsKey("createdAt")) { |
| 2804 createdAt = _json["createdAt"]; | 2852 createdAt = _json["createdAt"]; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2829 } | 2877 } |
| 2830 if (_json.containsKey("photoUrl")) { | 2878 if (_json.containsKey("photoUrl")) { |
| 2831 photoUrl = _json["photoUrl"]; | 2879 photoUrl = _json["photoUrl"]; |
| 2832 } | 2880 } |
| 2833 if (_json.containsKey("providerUserInfo")) { | 2881 if (_json.containsKey("providerUserInfo")) { |
| 2834 providerUserInfo = _json["providerUserInfo"].map((value) => new UserInfoPr
oviderUserInfo.fromJson(value)).toList(); | 2882 providerUserInfo = _json["providerUserInfo"].map((value) => new UserInfoPr
oviderUserInfo.fromJson(value)).toList(); |
| 2835 } | 2883 } |
| 2836 if (_json.containsKey("salt")) { | 2884 if (_json.containsKey("salt")) { |
| 2837 salt = _json["salt"]; | 2885 salt = _json["salt"]; |
| 2838 } | 2886 } |
| 2887 if (_json.containsKey("screenName")) { |
| 2888 screenName = _json["screenName"]; |
| 2889 } |
| 2839 if (_json.containsKey("validSince")) { | 2890 if (_json.containsKey("validSince")) { |
| 2840 validSince = _json["validSince"]; | 2891 validSince = _json["validSince"]; |
| 2841 } | 2892 } |
| 2842 if (_json.containsKey("version")) { | 2893 if (_json.containsKey("version")) { |
| 2843 version = _json["version"]; | 2894 version = _json["version"]; |
| 2844 } | 2895 } |
| 2845 } | 2896 } |
| 2846 | 2897 |
| 2847 core.Map toJson() { | 2898 core.Map toJson() { |
| 2848 var _json = new core.Map(); | 2899 var _json = new core.Map(); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2875 } | 2926 } |
| 2876 if (photoUrl != null) { | 2927 if (photoUrl != null) { |
| 2877 _json["photoUrl"] = photoUrl; | 2928 _json["photoUrl"] = photoUrl; |
| 2878 } | 2929 } |
| 2879 if (providerUserInfo != null) { | 2930 if (providerUserInfo != null) { |
| 2880 _json["providerUserInfo"] = providerUserInfo.map((value) => (value).toJson
()).toList(); | 2931 _json["providerUserInfo"] = providerUserInfo.map((value) => (value).toJson
()).toList(); |
| 2881 } | 2932 } |
| 2882 if (salt != null) { | 2933 if (salt != null) { |
| 2883 _json["salt"] = salt; | 2934 _json["salt"] = salt; |
| 2884 } | 2935 } |
| 2936 if (screenName != null) { |
| 2937 _json["screenName"] = screenName; |
| 2938 } |
| 2885 if (validSince != null) { | 2939 if (validSince != null) { |
| 2886 _json["validSince"] = validSince; | 2940 _json["validSince"] = validSince; |
| 2887 } | 2941 } |
| 2888 if (version != null) { | 2942 if (version != null) { |
| 2889 _json["version"] = version; | 2943 _json["version"] = version; |
| 2890 } | 2944 } |
| 2891 return _json; | 2945 return _json; |
| 2892 } | 2946 } |
| 2893 } | 2947 } |
| 2894 | 2948 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 2914 * the email. | 2968 * the email. |
| 2915 */ | 2969 */ |
| 2916 core.String email; | 2970 core.String email; |
| 2917 /** It's true if the email is recycled. */ | 2971 /** It's true if the email is recycled. */ |
| 2918 core.bool emailRecycled; | 2972 core.bool emailRecycled; |
| 2919 /** | 2973 /** |
| 2920 * The value is true if the IDP is also the email provider. It means the user | 2974 * The value is true if the IDP is also the email provider. It means the user |
| 2921 * owns the email. | 2975 * owns the email. |
| 2922 */ | 2976 */ |
| 2923 core.bool emailVerified; | 2977 core.bool emailVerified; |
| 2978 /** Client error code. */ |
| 2979 core.String errorMessage; |
| 2924 /** | 2980 /** |
| 2925 * If idToken is STS id token, then this field will be expiration time of STS | 2981 * If idToken is STS id token, then this field will be expiration time of STS |
| 2926 * id token in seconds. | 2982 * id token in seconds. |
| 2927 */ | 2983 */ |
| 2928 core.String expiresIn; | 2984 core.String expiresIn; |
| 2929 /** The unique ID identifies the IdP account. */ | 2985 /** The unique ID identifies the IdP account. */ |
| 2930 core.String federatedId; | 2986 core.String federatedId; |
| 2931 /** The first name of the user. */ | 2987 /** The first name of the user. */ |
| 2932 core.String firstName; | 2988 core.String firstName; |
| 2933 /** The full name of the user. */ | 2989 /** The full name of the user. */ |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2984 /** The URI of the public accessible profiel picture. */ | 3040 /** The URI of the public accessible profiel picture. */ |
| 2985 core.String photoUrl; | 3041 core.String photoUrl; |
| 2986 /** | 3042 /** |
| 2987 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, | 3043 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, |
| 2988 * aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID | 3044 * aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID |
| 2989 * OP identifer other than the whilte listed IdPs the OP identifier is | 3045 * OP identifer other than the whilte listed IdPs the OP identifier is |
| 2990 * returned. If the "identifier" param is federated ID in the createAuthUri | 3046 * returned. If the "identifier" param is federated ID in the createAuthUri |
| 2991 * request. The domain part of the federated ID is returned. | 3047 * request. The domain part of the federated ID is returned. |
| 2992 */ | 3048 */ |
| 2993 core.String providerId; | 3049 core.String providerId; |
| 3050 /** Raw IDP-returned user info. */ |
| 3051 core.String rawUserInfo; |
| 2994 /** If idToken is STS id token, then this field will be refresh token. */ | 3052 /** If idToken is STS id token, then this field will be refresh token. */ |
| 2995 core.String refreshToken; | 3053 core.String refreshToken; |
| 2996 /** The screen_name of a Twitter user. */ | 3054 /** The screen_name of a Twitter user. */ |
| 2997 core.String screenName; | 3055 core.String screenName; |
| 2998 /** The timezone of the user. */ | 3056 /** The timezone of the user. */ |
| 2999 core.String timeZone; | 3057 core.String timeZone; |
| 3000 /** | 3058 /** |
| 3001 * When action is 'map', contains the idps which can be used for confirmation. | 3059 * When action is 'map', contains the idps which can be used for confirmation. |
| 3002 */ | 3060 */ |
| 3003 core.List<core.String> verifiedProvider; | 3061 core.List<core.String> verifiedProvider; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 3025 } | 3083 } |
| 3026 if (_json.containsKey("email")) { | 3084 if (_json.containsKey("email")) { |
| 3027 email = _json["email"]; | 3085 email = _json["email"]; |
| 3028 } | 3086 } |
| 3029 if (_json.containsKey("emailRecycled")) { | 3087 if (_json.containsKey("emailRecycled")) { |
| 3030 emailRecycled = _json["emailRecycled"]; | 3088 emailRecycled = _json["emailRecycled"]; |
| 3031 } | 3089 } |
| 3032 if (_json.containsKey("emailVerified")) { | 3090 if (_json.containsKey("emailVerified")) { |
| 3033 emailVerified = _json["emailVerified"]; | 3091 emailVerified = _json["emailVerified"]; |
| 3034 } | 3092 } |
| 3093 if (_json.containsKey("errorMessage")) { |
| 3094 errorMessage = _json["errorMessage"]; |
| 3095 } |
| 3035 if (_json.containsKey("expiresIn")) { | 3096 if (_json.containsKey("expiresIn")) { |
| 3036 expiresIn = _json["expiresIn"]; | 3097 expiresIn = _json["expiresIn"]; |
| 3037 } | 3098 } |
| 3038 if (_json.containsKey("federatedId")) { | 3099 if (_json.containsKey("federatedId")) { |
| 3039 federatedId = _json["federatedId"]; | 3100 federatedId = _json["federatedId"]; |
| 3040 } | 3101 } |
| 3041 if (_json.containsKey("firstName")) { | 3102 if (_json.containsKey("firstName")) { |
| 3042 firstName = _json["firstName"]; | 3103 firstName = _json["firstName"]; |
| 3043 } | 3104 } |
| 3044 if (_json.containsKey("fullName")) { | 3105 if (_json.containsKey("fullName")) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3094 } | 3155 } |
| 3095 if (_json.containsKey("originalEmail")) { | 3156 if (_json.containsKey("originalEmail")) { |
| 3096 originalEmail = _json["originalEmail"]; | 3157 originalEmail = _json["originalEmail"]; |
| 3097 } | 3158 } |
| 3098 if (_json.containsKey("photoUrl")) { | 3159 if (_json.containsKey("photoUrl")) { |
| 3099 photoUrl = _json["photoUrl"]; | 3160 photoUrl = _json["photoUrl"]; |
| 3100 } | 3161 } |
| 3101 if (_json.containsKey("providerId")) { | 3162 if (_json.containsKey("providerId")) { |
| 3102 providerId = _json["providerId"]; | 3163 providerId = _json["providerId"]; |
| 3103 } | 3164 } |
| 3165 if (_json.containsKey("rawUserInfo")) { |
| 3166 rawUserInfo = _json["rawUserInfo"]; |
| 3167 } |
| 3104 if (_json.containsKey("refreshToken")) { | 3168 if (_json.containsKey("refreshToken")) { |
| 3105 refreshToken = _json["refreshToken"]; | 3169 refreshToken = _json["refreshToken"]; |
| 3106 } | 3170 } |
| 3107 if (_json.containsKey("screenName")) { | 3171 if (_json.containsKey("screenName")) { |
| 3108 screenName = _json["screenName"]; | 3172 screenName = _json["screenName"]; |
| 3109 } | 3173 } |
| 3110 if (_json.containsKey("timeZone")) { | 3174 if (_json.containsKey("timeZone")) { |
| 3111 timeZone = _json["timeZone"]; | 3175 timeZone = _json["timeZone"]; |
| 3112 } | 3176 } |
| 3113 if (_json.containsKey("verifiedProvider")) { | 3177 if (_json.containsKey("verifiedProvider")) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 3137 } | 3201 } |
| 3138 if (email != null) { | 3202 if (email != null) { |
| 3139 _json["email"] = email; | 3203 _json["email"] = email; |
| 3140 } | 3204 } |
| 3141 if (emailRecycled != null) { | 3205 if (emailRecycled != null) { |
| 3142 _json["emailRecycled"] = emailRecycled; | 3206 _json["emailRecycled"] = emailRecycled; |
| 3143 } | 3207 } |
| 3144 if (emailVerified != null) { | 3208 if (emailVerified != null) { |
| 3145 _json["emailVerified"] = emailVerified; | 3209 _json["emailVerified"] = emailVerified; |
| 3146 } | 3210 } |
| 3211 if (errorMessage != null) { |
| 3212 _json["errorMessage"] = errorMessage; |
| 3213 } |
| 3147 if (expiresIn != null) { | 3214 if (expiresIn != null) { |
| 3148 _json["expiresIn"] = expiresIn; | 3215 _json["expiresIn"] = expiresIn; |
| 3149 } | 3216 } |
| 3150 if (federatedId != null) { | 3217 if (federatedId != null) { |
| 3151 _json["federatedId"] = federatedId; | 3218 _json["federatedId"] = federatedId; |
| 3152 } | 3219 } |
| 3153 if (firstName != null) { | 3220 if (firstName != null) { |
| 3154 _json["firstName"] = firstName; | 3221 _json["firstName"] = firstName; |
| 3155 } | 3222 } |
| 3156 if (fullName != null) { | 3223 if (fullName != null) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3206 } | 3273 } |
| 3207 if (originalEmail != null) { | 3274 if (originalEmail != null) { |
| 3208 _json["originalEmail"] = originalEmail; | 3275 _json["originalEmail"] = originalEmail; |
| 3209 } | 3276 } |
| 3210 if (photoUrl != null) { | 3277 if (photoUrl != null) { |
| 3211 _json["photoUrl"] = photoUrl; | 3278 _json["photoUrl"] = photoUrl; |
| 3212 } | 3279 } |
| 3213 if (providerId != null) { | 3280 if (providerId != null) { |
| 3214 _json["providerId"] = providerId; | 3281 _json["providerId"] = providerId; |
| 3215 } | 3282 } |
| 3283 if (rawUserInfo != null) { |
| 3284 _json["rawUserInfo"] = rawUserInfo; |
| 3285 } |
| 3216 if (refreshToken != null) { | 3286 if (refreshToken != null) { |
| 3217 _json["refreshToken"] = refreshToken; | 3287 _json["refreshToken"] = refreshToken; |
| 3218 } | 3288 } |
| 3219 if (screenName != null) { | 3289 if (screenName != null) { |
| 3220 _json["screenName"] = screenName; | 3290 _json["screenName"] = screenName; |
| 3221 } | 3291 } |
| 3222 if (timeZone != null) { | 3292 if (timeZone != null) { |
| 3223 _json["timeZone"] = timeZone; | 3293 _json["timeZone"] = timeZone; |
| 3224 } | 3294 } |
| 3225 if (verifiedProvider != null) { | 3295 if (verifiedProvider != null) { |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3389 } | 3459 } |
| 3390 if (refreshToken != null) { | 3460 if (refreshToken != null) { |
| 3391 _json["refreshToken"] = refreshToken; | 3461 _json["refreshToken"] = refreshToken; |
| 3392 } | 3462 } |
| 3393 if (registered != null) { | 3463 if (registered != null) { |
| 3394 _json["registered"] = registered; | 3464 _json["registered"] = registered; |
| 3395 } | 3465 } |
| 3396 return _json; | 3466 return _json; |
| 3397 } | 3467 } |
| 3398 } | 3468 } |
| OLD | NEW |