GetAuthApplicationResponse constructor

GetAuthApplicationResponse({
  1. String? applicationId,
  2. String? applicationName,
  3. String? clientSecret,
  4. Iterable<String>? originUris,
  5. Iterable<String>? redirectUris,
  6. String? logoutUri,
})

Implementation

factory GetAuthApplicationResponse({
  $core.String? applicationId,
  $core.String? applicationName,
  $core.String? clientSecret,
  $core.Iterable<$core.String>? originUris,
  $core.Iterable<$core.String>? redirectUris,
  $core.String? logoutUri,
}) {
  final $result = create();
  if (applicationId != null) {
    $result.applicationId = applicationId;
  }
  if (applicationName != null) {
    $result.applicationName = applicationName;
  }
  if (clientSecret != null) {
    $result.clientSecret = clientSecret;
  }
  if (originUris != null) {
    $result.originUris.addAll(originUris);
  }
  if (redirectUris != null) {
    $result.redirectUris.addAll(redirectUris);
  }
  if (logoutUri != null) {
    $result.logoutUri = logoutUri;
  }
  return $result;
}