IdentityServiceAuthMethod.fromJson constructor

IdentityServiceAuthMethod.fromJson(
  1. Map json_
)

Implementation

IdentityServiceAuthMethod.fromJson(core.Map json_)
    : this(
        azureadConfig: json_.containsKey('azureadConfig')
            ? IdentityServiceAzureADConfig.fromJson(
                json_['azureadConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        googleConfig: json_.containsKey('googleConfig')
            ? IdentityServiceGoogleConfig.fromJson(
                json_['googleConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        oidcConfig: json_.containsKey('oidcConfig')
            ? IdentityServiceOidcConfig.fromJson(
                json_['oidcConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        proxy:
            json_.containsKey('proxy') ? json_['proxy'] as core.String : null,
        samlConfig: json_.containsKey('samlConfig')
            ? IdentityServiceSamlConfig.fromJson(
                json_['samlConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );