IdentityServiceSamlConfig.fromJson constructor

IdentityServiceSamlConfig.fromJson(
  1. Map json_
)

Implementation

IdentityServiceSamlConfig.fromJson(core.Map json_)
    : this(
        attributeMapping: json_.containsKey('attributeMapping')
            ? (json_['attributeMapping']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        groupPrefix: json_.containsKey('groupPrefix')
            ? json_['groupPrefix'] as core.String
            : null,
        groupsAttribute: json_.containsKey('groupsAttribute')
            ? json_['groupsAttribute'] as core.String
            : null,
        identityProviderCertificates:
            json_.containsKey('identityProviderCertificates')
                ? (json_['identityProviderCertificates'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        identityProviderId: json_.containsKey('identityProviderId')
            ? json_['identityProviderId'] as core.String
            : null,
        identityProviderSsoUri: json_.containsKey('identityProviderSsoUri')
            ? json_['identityProviderSsoUri'] as core.String
            : null,
        userAttribute: json_.containsKey('userAttribute')
            ? json_['userAttribute'] as core.String
            : null,
        userPrefix: json_.containsKey('userPrefix')
            ? json_['userPrefix'] as core.String
            : null,
      );