All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
38 lines
619 B
PHP
38 lines
619 B
PHP
<?php
|
|
|
|
namespace Laravel\Socialite\One;
|
|
|
|
use Laravel\Socialite\AbstractUser;
|
|
|
|
class User extends AbstractUser
|
|
{
|
|
/**
|
|
* The user's access token.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $token;
|
|
|
|
/**
|
|
* The user's access token secret.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $tokenSecret;
|
|
|
|
/**
|
|
* Set the token on the user.
|
|
*
|
|
* @param string $token
|
|
* @param string $tokenSecret
|
|
* @return $this
|
|
*/
|
|
public function setToken($token, $tokenSecret)
|
|
{
|
|
$this->token = $token;
|
|
$this->tokenSecret = $tokenSecret;
|
|
|
|
return $this;
|
|
}
|
|
}
|