$ToolAuthenticationOAuthConfig.fromJson constructor
$ToolAuthenticationOAuthConfig.fromJson(
- Map json_
Implementation
$ToolAuthenticationOAuthConfig.fromJson(core.Map json_)
: this(
clientId: json_['clientId'] as core.String?,
clientSecret: json_['clientSecret'] as core.String?,
oauthGrantType: json_['oauthGrantType'] as core.String?,
scopes: (json_['scopes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
secretVersionForClientSecret:
json_['secretVersionForClientSecret'] as core.String?,
tokenEndpoint: json_['tokenEndpoint'] as core.String?,
);