mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
First code for Spectre login and import routine.
This commit is contained in:
@@ -73,4 +73,16 @@ class Token extends SpectreObject
|
||||
return $this->token;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'connect_url' => $this->connectUrl,
|
||||
'expires_at' => $this->expiresAt->toW3cString(),
|
||||
'token' => $this->token,
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user