GetOpenIDConfigResponse.fromJson constructor

GetOpenIDConfigResponse.fromJson(
  1. Map json_
)

Implementation

GetOpenIDConfigResponse.fromJson(core.Map json_)
    : this(
        cacheHeader: json_.containsKey('cacheHeader')
            ? HttpCacheControlResponseHeader.fromJson(
                json_['cacheHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        claimsSupported: json_.containsKey('claims_supported')
            ? (json_['claims_supported'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        grantTypes: json_.containsKey('grant_types')
            ? (json_['grant_types'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        idTokenSigningAlgValuesSupported: json_
                .containsKey('id_token_signing_alg_values_supported')
            ? (json_['id_token_signing_alg_values_supported'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        issuer: json_.containsKey('issuer')
            ? json_['issuer'] as core.String
            : null,
        jwksUri: json_.containsKey('jwks_uri')
            ? json_['jwks_uri'] as core.String
            : null,
        responseTypesSupported: json_.containsKey('response_types_supported')
            ? (json_['response_types_supported'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        subjectTypesSupported: json_.containsKey('subject_types_supported')
            ? (json_['subject_types_supported'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );