-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Is possible create a server jwt using only memory storage? Because, I can not read the refresh token in memory.
how is the $server->addGrantType( OAuth2\GrantType\RefreshToken ) in memory, for after so that I can then make a call to create a new access_token, all using Storage/Memory. Its possible?
ignore this structure of code
server.php
$storage = new OAuth2\Storage\Memory(...)
$server = new OAuth2\Server($storage)
method: token(){ return access_token, jwt and others }
method: resource(){ if user is valid and show resource...}
method: renewRefreshToken(){ here.. i need the idea for code }
in PDO storage, works with me.. but I want to test in memory.
Thanks
Metadata
Metadata
Assignees
Labels
No labels