OAuthClientConfig.fromJson constructor
Implementation
factory OAuthClientConfig.fromJson(Map<String, dynamic> json) {
return OAuthClientConfig(
clientId: json['client_id'] as String,
clientSecret: json['client_secret'] as String?,
authorizationEndpoint: json['authorization_endpoint'] as String,
tokenEndpoint: json['token_endpoint'] as String,
noPkce: json['no_pkce'] as bool?,
scopes: (json['scopes'] as List?)?.cast<String>(),
);
}