ClientSecretCredentials.fromJson constructor

ClientSecretCredentials.fromJson(
  1. Map json_
)

Implementation

ClientSecretCredentials.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        tenantId: json_.containsKey('tenantId')
            ? json_['tenantId'] as core.String
            : null,
      );