| 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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1023 core.String clientId; | 1023 core.String clientId; |
| 1024 /** | 1024 /** |
| 1025 * The opaque value used by the client to maintain context info between the | 1025 * The opaque value used by the client to maintain context info between the |
| 1026 * authentication request and the IDP callback. | 1026 * authentication request and the IDP callback. |
| 1027 */ | 1027 */ |
| 1028 core.String context; | 1028 core.String context; |
| 1029 /** | 1029 /** |
| 1030 * The URI to which the IDP redirects the user after the federated login flow. | 1030 * The URI to which the IDP redirects the user after the federated login flow. |
| 1031 */ | 1031 */ |
| 1032 core.String continueUri; | 1032 core.String continueUri; |
| 1033 /** |
| 1034 * The hosted domain to restrict sign-in to accounts at that domain for Google |
| 1035 * Apps hosted accounts. |
| 1036 */ |
| 1037 core.String hostedDomain; |
| 1033 /** The email or federated ID of the user. */ | 1038 /** The email or federated ID of the user. */ |
| 1034 core.String identifier; | 1039 core.String identifier; |
| 1035 /** The developer's consumer key for OpenId OAuth Extension */ | 1040 /** The developer's consumer key for OpenId OAuth Extension */ |
| 1036 core.String oauthConsumerKey; | 1041 core.String oauthConsumerKey; |
| 1037 /** | 1042 /** |
| 1038 * Additional oauth scopes, beyond the basid user profile, that the user would | 1043 * Additional oauth scopes, beyond the basid user profile, that the user would |
| 1039 * be prompted to grant | 1044 * be prompted to grant |
| 1040 */ | 1045 */ |
| 1041 core.String oauthScope; | 1046 core.String oauthScope; |
| 1042 /** | 1047 /** |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1061 } | 1066 } |
| 1062 if (_json.containsKey("clientId")) { | 1067 if (_json.containsKey("clientId")) { |
| 1063 clientId = _json["clientId"]; | 1068 clientId = _json["clientId"]; |
| 1064 } | 1069 } |
| 1065 if (_json.containsKey("context")) { | 1070 if (_json.containsKey("context")) { |
| 1066 context = _json["context"]; | 1071 context = _json["context"]; |
| 1067 } | 1072 } |
| 1068 if (_json.containsKey("continueUri")) { | 1073 if (_json.containsKey("continueUri")) { |
| 1069 continueUri = _json["continueUri"]; | 1074 continueUri = _json["continueUri"]; |
| 1070 } | 1075 } |
| 1076 if (_json.containsKey("hostedDomain")) { |
| 1077 hostedDomain = _json["hostedDomain"]; |
| 1078 } |
| 1071 if (_json.containsKey("identifier")) { | 1079 if (_json.containsKey("identifier")) { |
| 1072 identifier = _json["identifier"]; | 1080 identifier = _json["identifier"]; |
| 1073 } | 1081 } |
| 1074 if (_json.containsKey("oauthConsumerKey")) { | 1082 if (_json.containsKey("oauthConsumerKey")) { |
| 1075 oauthConsumerKey = _json["oauthConsumerKey"]; | 1083 oauthConsumerKey = _json["oauthConsumerKey"]; |
| 1076 } | 1084 } |
| 1077 if (_json.containsKey("oauthScope")) { | 1085 if (_json.containsKey("oauthScope")) { |
| 1078 oauthScope = _json["oauthScope"]; | 1086 oauthScope = _json["oauthScope"]; |
| 1079 } | 1087 } |
| 1080 if (_json.containsKey("openidRealm")) { | 1088 if (_json.containsKey("openidRealm")) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1095 } | 1103 } |
| 1096 if (clientId != null) { | 1104 if (clientId != null) { |
| 1097 _json["clientId"] = clientId; | 1105 _json["clientId"] = clientId; |
| 1098 } | 1106 } |
| 1099 if (context != null) { | 1107 if (context != null) { |
| 1100 _json["context"] = context; | 1108 _json["context"] = context; |
| 1101 } | 1109 } |
| 1102 if (continueUri != null) { | 1110 if (continueUri != null) { |
| 1103 _json["continueUri"] = continueUri; | 1111 _json["continueUri"] = continueUri; |
| 1104 } | 1112 } |
| 1113 if (hostedDomain != null) { |
| 1114 _json["hostedDomain"] = hostedDomain; |
| 1115 } |
| 1105 if (identifier != null) { | 1116 if (identifier != null) { |
| 1106 _json["identifier"] = identifier; | 1117 _json["identifier"] = identifier; |
| 1107 } | 1118 } |
| 1108 if (oauthConsumerKey != null) { | 1119 if (oauthConsumerKey != null) { |
| 1109 _json["oauthConsumerKey"] = oauthConsumerKey; | 1120 _json["oauthConsumerKey"] = oauthConsumerKey; |
| 1110 } | 1121 } |
| 1111 if (oauthScope != null) { | 1122 if (oauthScope != null) { |
| 1112 _json["oauthScope"] = oauthScope; | 1123 _json["oauthScope"] = oauthScope; |
| 1113 } | 1124 } |
| 1114 if (openidRealm != null) { | 1125 if (openidRealm != null) { |
| (...skipping 1860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2975 /** | 2986 /** |
| 2976 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, | 2987 * The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, |
| 2977 * aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID | 2988 * aol.com, live.net and yahoo.com. If the "providerId" param is set to OpenID |
| 2978 * OP identifer other than the whilte listed IdPs the OP identifier is | 2989 * OP identifer other than the whilte listed IdPs the OP identifier is |
| 2979 * returned. If the "identifier" param is federated ID in the createAuthUri | 2990 * returned. If the "identifier" param is federated ID in the createAuthUri |
| 2980 * request. The domain part of the federated ID is returned. | 2991 * request. The domain part of the federated ID is returned. |
| 2981 */ | 2992 */ |
| 2982 core.String providerId; | 2993 core.String providerId; |
| 2983 /** If idToken is STS id token, then this field will be refresh token. */ | 2994 /** If idToken is STS id token, then this field will be refresh token. */ |
| 2984 core.String refreshToken; | 2995 core.String refreshToken; |
| 2996 /** The screen_name of a Twitter user. */ |
| 2997 core.String screenName; |
| 2985 /** The timezone of the user. */ | 2998 /** The timezone of the user. */ |
| 2986 core.String timeZone; | 2999 core.String timeZone; |
| 2987 /** | 3000 /** |
| 2988 * When action is 'map', contains the idps which can be used for confirmation. | 3001 * When action is 'map', contains the idps which can be used for confirmation. |
| 2989 */ | 3002 */ |
| 2990 core.List<core.String> verifiedProvider; | 3003 core.List<core.String> verifiedProvider; |
| 2991 | 3004 |
| 2992 VerifyAssertionResponse(); | 3005 VerifyAssertionResponse(); |
| 2993 | 3006 |
| 2994 VerifyAssertionResponse.fromJson(core.Map _json) { | 3007 VerifyAssertionResponse.fromJson(core.Map _json) { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3084 } | 3097 } |
| 3085 if (_json.containsKey("photoUrl")) { | 3098 if (_json.containsKey("photoUrl")) { |
| 3086 photoUrl = _json["photoUrl"]; | 3099 photoUrl = _json["photoUrl"]; |
| 3087 } | 3100 } |
| 3088 if (_json.containsKey("providerId")) { | 3101 if (_json.containsKey("providerId")) { |
| 3089 providerId = _json["providerId"]; | 3102 providerId = _json["providerId"]; |
| 3090 } | 3103 } |
| 3091 if (_json.containsKey("refreshToken")) { | 3104 if (_json.containsKey("refreshToken")) { |
| 3092 refreshToken = _json["refreshToken"]; | 3105 refreshToken = _json["refreshToken"]; |
| 3093 } | 3106 } |
| 3107 if (_json.containsKey("screenName")) { |
| 3108 screenName = _json["screenName"]; |
| 3109 } |
| 3094 if (_json.containsKey("timeZone")) { | 3110 if (_json.containsKey("timeZone")) { |
| 3095 timeZone = _json["timeZone"]; | 3111 timeZone = _json["timeZone"]; |
| 3096 } | 3112 } |
| 3097 if (_json.containsKey("verifiedProvider")) { | 3113 if (_json.containsKey("verifiedProvider")) { |
| 3098 verifiedProvider = _json["verifiedProvider"]; | 3114 verifiedProvider = _json["verifiedProvider"]; |
| 3099 } | 3115 } |
| 3100 } | 3116 } |
| 3101 | 3117 |
| 3102 core.Map toJson() { | 3118 core.Map toJson() { |
| 3103 var _json = new core.Map(); | 3119 var _json = new core.Map(); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3193 } | 3209 } |
| 3194 if (photoUrl != null) { | 3210 if (photoUrl != null) { |
| 3195 _json["photoUrl"] = photoUrl; | 3211 _json["photoUrl"] = photoUrl; |
| 3196 } | 3212 } |
| 3197 if (providerId != null) { | 3213 if (providerId != null) { |
| 3198 _json["providerId"] = providerId; | 3214 _json["providerId"] = providerId; |
| 3199 } | 3215 } |
| 3200 if (refreshToken != null) { | 3216 if (refreshToken != null) { |
| 3201 _json["refreshToken"] = refreshToken; | 3217 _json["refreshToken"] = refreshToken; |
| 3202 } | 3218 } |
| 3219 if (screenName != null) { |
| 3220 _json["screenName"] = screenName; |
| 3221 } |
| 3203 if (timeZone != null) { | 3222 if (timeZone != null) { |
| 3204 _json["timeZone"] = timeZone; | 3223 _json["timeZone"] = timeZone; |
| 3205 } | 3224 } |
| 3206 if (verifiedProvider != null) { | 3225 if (verifiedProvider != null) { |
| 3207 _json["verifiedProvider"] = verifiedProvider; | 3226 _json["verifiedProvider"] = verifiedProvider; |
| 3208 } | 3227 } |
| 3209 return _json; | 3228 return _json; |
| 3210 } | 3229 } |
| 3211 } | 3230 } |
| 3212 | 3231 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3370 } | 3389 } |
| 3371 if (refreshToken != null) { | 3390 if (refreshToken != null) { |
| 3372 _json["refreshToken"] = refreshToken; | 3391 _json["refreshToken"] = refreshToken; |
| 3373 } | 3392 } |
| 3374 if (registered != null) { | 3393 if (registered != null) { |
| 3375 _json["registered"] = registered; | 3394 _json["registered"] = registered; |
| 3376 } | 3395 } |
| 3377 return _json; | 3396 return _json; |
| 3378 } | 3397 } |
| 3379 } | 3398 } |
| OLD | NEW |