mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Code declared in interface, not needed
This commit is contained in:
parent
11ab167376
commit
293bc52972
@ -185,22 +185,4 @@ abstract class AbstractGrant implements GrantTypeInterface
|
|||||||
|
|
||||||
return $scopes;
|
return $scopes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Complete the grant flow
|
|
||||||
*
|
|
||||||
* Example response:
|
|
||||||
* <pre>
|
|
||||||
* array(
|
|
||||||
* 'access_token' => (string) , // The access token
|
|
||||||
* 'refresh_token' => (string) , // The refresh token (only set if the refresh token grant is enabled)
|
|
||||||
* 'token_type' => 'bearer', // Almost always "bearer" (exceptions: JWT, SAML)
|
|
||||||
* 'expires' => (int) , // The timestamp of when the access token will expire
|
|
||||||
* 'expires_in' => (int) // The number of seconds before the access token will expire
|
|
||||||
* )
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @return array An array of parameters to be passed back to the client
|
|
||||||
*/
|
|
||||||
abstract public function completeFlow();
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user