PersonalAccessTokenFactory
class PersonalAccessTokenFactory
Methods
make(string|int $userId, string $name, array $scopes, string $provider)
Create a new personal access token.
ServerRequestInterface
createRequest(string|int $userId, string $name, array $scopes, string $provider)
Create a request instance for the given client.
array
dispatchRequestToAuthorizationServer(ServerRequestInterface $request)
Dispatch the given request to the authorization server.
Details
at line 17
__construct(ServerFactory $servers)
Create a new personal access token factory instance.
at line 27
PersonalAccessTokenResult
make(string|int $userId, string $name, array $scopes, string $provider)
Create a new personal access token.
at line 41
protected ServerRequestInterface
createRequest(string|int $userId, string $name, array $scopes, string $provider)
Create a request instance for the given client.
at line 57
protected array
dispatchRequestToAuthorizationServer(ServerRequestInterface $request)
Dispatch the given request to the authorization server.