| 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 2910 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2921   } | 2921   } | 
| 2922 } | 2922 } | 
| 2923 | 2923 | 
| 2924 class UserInfoProviderUserInfo { | 2924 class UserInfoProviderUserInfo { | 
| 2925   /** The user's display name at the IDP. */ | 2925   /** The user's display name at the IDP. */ | 
| 2926   core.String displayName; | 2926   core.String displayName; | 
| 2927   /** User's email at IDP. */ | 2927   /** User's email at IDP. */ | 
| 2928   core.String email; | 2928   core.String email; | 
| 2929   /** User's identifier at IDP. */ | 2929   /** User's identifier at IDP. */ | 
| 2930   core.String federatedId; | 2930   core.String federatedId; | 
|  | 2931   /** User's phone number. */ | 
|  | 2932   core.String phoneNumber; | 
| 2931   /** The user's photo url at the IDP. */ | 2933   /** The user's photo url at the IDP. */ | 
| 2932   core.String photoUrl; | 2934   core.String photoUrl; | 
| 2933   /** | 2935   /** | 
| 2934    * The IdP ID. For white listed IdPs it's a short domain name, e.g., | 2936    * The IdP ID. For white listed IdPs it's a short domain name, e.g., | 
| 2935    * google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the | 2937    * google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the | 
| 2936    * OP identifier. | 2938    * OP identifier. | 
| 2937    */ | 2939    */ | 
| 2938   core.String providerId; | 2940   core.String providerId; | 
| 2939   /** User's raw identifier directly returned from IDP. */ | 2941   /** User's raw identifier directly returned from IDP. */ | 
| 2940   core.String rawId; | 2942   core.String rawId; | 
| 2941   /** User's screen name at Twitter or login name at Github. */ | 2943   /** User's screen name at Twitter or login name at Github. */ | 
| 2942   core.String screenName; | 2944   core.String screenName; | 
| 2943 | 2945 | 
| 2944   UserInfoProviderUserInfo(); | 2946   UserInfoProviderUserInfo(); | 
| 2945 | 2947 | 
| 2946   UserInfoProviderUserInfo.fromJson(core.Map _json) { | 2948   UserInfoProviderUserInfo.fromJson(core.Map _json) { | 
| 2947     if (_json.containsKey("displayName")) { | 2949     if (_json.containsKey("displayName")) { | 
| 2948       displayName = _json["displayName"]; | 2950       displayName = _json["displayName"]; | 
| 2949     } | 2951     } | 
| 2950     if (_json.containsKey("email")) { | 2952     if (_json.containsKey("email")) { | 
| 2951       email = _json["email"]; | 2953       email = _json["email"]; | 
| 2952     } | 2954     } | 
| 2953     if (_json.containsKey("federatedId")) { | 2955     if (_json.containsKey("federatedId")) { | 
| 2954       federatedId = _json["federatedId"]; | 2956       federatedId = _json["federatedId"]; | 
| 2955     } | 2957     } | 
|  | 2958     if (_json.containsKey("phoneNumber")) { | 
|  | 2959       phoneNumber = _json["phoneNumber"]; | 
|  | 2960     } | 
| 2956     if (_json.containsKey("photoUrl")) { | 2961     if (_json.containsKey("photoUrl")) { | 
| 2957       photoUrl = _json["photoUrl"]; | 2962       photoUrl = _json["photoUrl"]; | 
| 2958     } | 2963     } | 
| 2959     if (_json.containsKey("providerId")) { | 2964     if (_json.containsKey("providerId")) { | 
| 2960       providerId = _json["providerId"]; | 2965       providerId = _json["providerId"]; | 
| 2961     } | 2966     } | 
| 2962     if (_json.containsKey("rawId")) { | 2967     if (_json.containsKey("rawId")) { | 
| 2963       rawId = _json["rawId"]; | 2968       rawId = _json["rawId"]; | 
| 2964     } | 2969     } | 
| 2965     if (_json.containsKey("screenName")) { | 2970     if (_json.containsKey("screenName")) { | 
| 2966       screenName = _json["screenName"]; | 2971       screenName = _json["screenName"]; | 
| 2967     } | 2972     } | 
| 2968   } | 2973   } | 
| 2969 | 2974 | 
| 2970   core.Map toJson() { | 2975   core.Map toJson() { | 
| 2971     var _json = new core.Map(); | 2976     var _json = new core.Map(); | 
| 2972     if (displayName != null) { | 2977     if (displayName != null) { | 
| 2973       _json["displayName"] = displayName; | 2978       _json["displayName"] = displayName; | 
| 2974     } | 2979     } | 
| 2975     if (email != null) { | 2980     if (email != null) { | 
| 2976       _json["email"] = email; | 2981       _json["email"] = email; | 
| 2977     } | 2982     } | 
| 2978     if (federatedId != null) { | 2983     if (federatedId != null) { | 
| 2979       _json["federatedId"] = federatedId; | 2984       _json["federatedId"] = federatedId; | 
| 2980     } | 2985     } | 
|  | 2986     if (phoneNumber != null) { | 
|  | 2987       _json["phoneNumber"] = phoneNumber; | 
|  | 2988     } | 
| 2981     if (photoUrl != null) { | 2989     if (photoUrl != null) { | 
| 2982       _json["photoUrl"] = photoUrl; | 2990       _json["photoUrl"] = photoUrl; | 
| 2983     } | 2991     } | 
| 2984     if (providerId != null) { | 2992     if (providerId != null) { | 
| 2985       _json["providerId"] = providerId; | 2993       _json["providerId"] = providerId; | 
| 2986     } | 2994     } | 
| 2987     if (rawId != null) { | 2995     if (rawId != null) { | 
| 2988       _json["rawId"] = rawId; | 2996       _json["rawId"] = rawId; | 
| 2989     } | 2997     } | 
| 2990     if (screenName != null) { | 2998     if (screenName != null) { | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 3016   core.String passwordHash; | 3024   core.String passwordHash; | 
| 3017   core.List<core.int> get passwordHashAsBytes { | 3025   core.List<core.int> get passwordHashAsBytes { | 
| 3018     return convert.BASE64.decode(passwordHash); | 3026     return convert.BASE64.decode(passwordHash); | 
| 3019   } | 3027   } | 
| 3020 | 3028 | 
| 3021   void set passwordHashAsBytes(core.List<core.int> _bytes) { | 3029   void set passwordHashAsBytes(core.List<core.int> _bytes) { | 
| 3022     passwordHash = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll
      ("+", "-"); | 3030     passwordHash = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll
      ("+", "-"); | 
| 3023   } | 3031   } | 
| 3024   /** The timestamp when the password was last updated. */ | 3032   /** The timestamp when the password was last updated. */ | 
| 3025   core.double passwordUpdatedAt; | 3033   core.double passwordUpdatedAt; | 
|  | 3034   /** User's phone number. */ | 
|  | 3035   core.String phoneNumber; | 
| 3026   /** The URL of the user profile photo. */ | 3036   /** The URL of the user profile photo. */ | 
| 3027   core.String photoUrl; | 3037   core.String photoUrl; | 
| 3028   /** The IDP of the user. */ | 3038   /** The IDP of the user. */ | 
| 3029   core.List<UserInfoProviderUserInfo> providerUserInfo; | 3039   core.List<UserInfoProviderUserInfo> providerUserInfo; | 
| 3030   /** The user's plain text password. */ | 3040   /** The user's plain text password. */ | 
| 3031   core.String rawPassword; | 3041   core.String rawPassword; | 
| 3032   /** The user's password salt. */ | 3042   /** The user's password salt. */ | 
| 3033   core.String salt; | 3043   core.String salt; | 
| 3034   core.List<core.int> get saltAsBytes { | 3044   core.List<core.int> get saltAsBytes { | 
| 3035     return convert.BASE64.decode(salt); | 3045     return convert.BASE64.decode(salt); | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3071     } | 3081     } | 
| 3072     if (_json.containsKey("localId")) { | 3082     if (_json.containsKey("localId")) { | 
| 3073       localId = _json["localId"]; | 3083       localId = _json["localId"]; | 
| 3074     } | 3084     } | 
| 3075     if (_json.containsKey("passwordHash")) { | 3085     if (_json.containsKey("passwordHash")) { | 
| 3076       passwordHash = _json["passwordHash"]; | 3086       passwordHash = _json["passwordHash"]; | 
| 3077     } | 3087     } | 
| 3078     if (_json.containsKey("passwordUpdatedAt")) { | 3088     if (_json.containsKey("passwordUpdatedAt")) { | 
| 3079       passwordUpdatedAt = _json["passwordUpdatedAt"]; | 3089       passwordUpdatedAt = _json["passwordUpdatedAt"]; | 
| 3080     } | 3090     } | 
|  | 3091     if (_json.containsKey("phoneNumber")) { | 
|  | 3092       phoneNumber = _json["phoneNumber"]; | 
|  | 3093     } | 
| 3081     if (_json.containsKey("photoUrl")) { | 3094     if (_json.containsKey("photoUrl")) { | 
| 3082       photoUrl = _json["photoUrl"]; | 3095       photoUrl = _json["photoUrl"]; | 
| 3083     } | 3096     } | 
| 3084     if (_json.containsKey("providerUserInfo")) { | 3097     if (_json.containsKey("providerUserInfo")) { | 
| 3085       providerUserInfo = _json["providerUserInfo"].map((value) => new UserInfoPr
      oviderUserInfo.fromJson(value)).toList(); | 3098       providerUserInfo = _json["providerUserInfo"].map((value) => new UserInfoPr
      oviderUserInfo.fromJson(value)).toList(); | 
| 3086     } | 3099     } | 
| 3087     if (_json.containsKey("rawPassword")) { | 3100     if (_json.containsKey("rawPassword")) { | 
| 3088       rawPassword = _json["rawPassword"]; | 3101       rawPassword = _json["rawPassword"]; | 
| 3089     } | 3102     } | 
| 3090     if (_json.containsKey("salt")) { | 3103     if (_json.containsKey("salt")) { | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3126     } | 3139     } | 
| 3127     if (localId != null) { | 3140     if (localId != null) { | 
| 3128       _json["localId"] = localId; | 3141       _json["localId"] = localId; | 
| 3129     } | 3142     } | 
| 3130     if (passwordHash != null) { | 3143     if (passwordHash != null) { | 
| 3131       _json["passwordHash"] = passwordHash; | 3144       _json["passwordHash"] = passwordHash; | 
| 3132     } | 3145     } | 
| 3133     if (passwordUpdatedAt != null) { | 3146     if (passwordUpdatedAt != null) { | 
| 3134       _json["passwordUpdatedAt"] = passwordUpdatedAt; | 3147       _json["passwordUpdatedAt"] = passwordUpdatedAt; | 
| 3135     } | 3148     } | 
|  | 3149     if (phoneNumber != null) { | 
|  | 3150       _json["phoneNumber"] = phoneNumber; | 
|  | 3151     } | 
| 3136     if (photoUrl != null) { | 3152     if (photoUrl != null) { | 
| 3137       _json["photoUrl"] = photoUrl; | 3153       _json["photoUrl"] = photoUrl; | 
| 3138     } | 3154     } | 
| 3139     if (providerUserInfo != null) { | 3155     if (providerUserInfo != null) { | 
| 3140       _json["providerUserInfo"] = providerUserInfo.map((value) => (value).toJson
      ()).toList(); | 3156       _json["providerUserInfo"] = providerUserInfo.map((value) => (value).toJson
      ()).toList(); | 
| 3141     } | 3157     } | 
| 3142     if (rawPassword != null) { | 3158     if (rawPassword != null) { | 
| 3143       _json["rawPassword"] = rawPassword; | 3159       _json["rawPassword"] = rawPassword; | 
| 3144     } | 3160     } | 
| 3145     if (salt != null) { | 3161     if (salt != null) { | 
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3679     } | 3695     } | 
| 3680     if (refreshToken != null) { | 3696     if (refreshToken != null) { | 
| 3681       _json["refreshToken"] = refreshToken; | 3697       _json["refreshToken"] = refreshToken; | 
| 3682     } | 3698     } | 
| 3683     if (registered != null) { | 3699     if (registered != null) { | 
| 3684       _json["registered"] = registered; | 3700       _json["registered"] = registered; | 
| 3685     } | 3701     } | 
| 3686     return _json; | 3702     return _json; | 
| 3687   } | 3703   } | 
| 3688 } | 3704 } | 
| OLD | NEW | 
|---|