ValidateIdCommand
class ValidateIdCommand extends Command (View source)
Get client APP API credentials.
Traits
Console commands utilities.
Properties
protected ClientInterface | $client | Guzzle HTTP client instance. |
|
protected string | $signature | The name and signature of the console command. |
|
protected string | $description | The console command description. |
Methods
void
line(string $string, string|null $style = null, int|string|null $verbosity = null)
Write a string as standard output.
from
CommandUtilTrait
bool
runInProduction(string $warning = 'Application In Production!')
Warn user running command in production.
from
CommandUtilTrait
void
printLabels(string $title, array|string $body = null)
Print formatted labels.
from
CommandUtilTrait
void
updateSetting(string $name, string $key, string $value)
Write | replace setting in .env file.
from
CommandUtilTrait
__construct(ClientInterface $client)
Create a new command instance.
void
handle()
Execute the console command.
void
requestClientInfo(string $clientIdStatusUri)
Request client credentials.
Details
abstract void
line(string $string, string|null $style = null, int|string|null $verbosity = null)
Write a string as standard output.
protected bool
runInProduction(string $warning = 'Application In Production!')
Warn user running command in production.
protected void
printLabels(string $title, array|string $body = null)
Print formatted labels.
protected void
updateSetting(string $name, string $key, string $value)
Write | replace setting in .env file.
__construct(ClientInterface $client)
Create a new command instance.
void
handle()
Execute the console command.
protected void
requestClientInfo(string $clientIdStatusUri)
Request client credentials.