IdentityServiceOidcConfig.fromJson constructor

IdentityServiceOidcConfig.fromJson(
  1. Map json_
)

Implementation

IdentityServiceOidcConfig.fromJson(core.Map json_)
    : this(
        certificateAuthorityData:
            json_.containsKey('certificateAuthorityData')
                ? json_['certificateAuthorityData'] as core.String
                : null,
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        deployCloudConsoleProxy: json_.containsKey('deployCloudConsoleProxy')
            ? json_['deployCloudConsoleProxy'] as core.bool
            : null,
        enableAccessToken: json_.containsKey('enableAccessToken')
            ? json_['enableAccessToken'] as core.bool
            : null,
        encryptedClientSecret: json_.containsKey('encryptedClientSecret')
            ? json_['encryptedClientSecret'] as core.String
            : null,
        extraParams: json_.containsKey('extraParams')
            ? json_['extraParams'] as core.String
            : null,
        groupPrefix: json_.containsKey('groupPrefix')
            ? json_['groupPrefix'] as core.String
            : null,
        groupsClaim: json_.containsKey('groupsClaim')
            ? json_['groupsClaim'] as core.String
            : null,
        issuerUri: json_.containsKey('issuerUri')
            ? json_['issuerUri'] as core.String
            : null,
        kubectlRedirectUri: json_.containsKey('kubectlRedirectUri')
            ? json_['kubectlRedirectUri'] as core.String
            : null,
        scopes: json_.containsKey('scopes')
            ? json_['scopes'] as core.String
            : null,
        userClaim: json_.containsKey('userClaim')
            ? json_['userClaim'] as core.String
            : null,
        userPrefix: json_.containsKey('userPrefix')
            ? json_['userPrefix'] as core.String
            : null,
      );