mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Update auth-server-which-grant.md
This commit is contained in:
@@ -90,7 +90,7 @@ This grant is suitable for trusted clients such as a service’s own mobile clie
|
|||||||
|
|
||||||
~~~ php
|
~~~ php
|
||||||
$clientCredentials = new League\OAuth2\Server\Grant\ClientCredentialsGrant();
|
$clientCredentials = new League\OAuth2\Server\Grant\ClientCredentialsGrant();
|
||||||
server->addGrantType($clientCredentials);
|
$server->addGrantType($clientCredentials);
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
This grant is similar to the resource owner credentials grant except only the client’s credentials are used to authenticate a request for an access token. Again this grant should only be allowed to be used by trusted clients.
|
This grant is similar to the resource owner credentials grant except only the client’s credentials are used to authenticate a request for an access token. Again this grant should only be allowed to be used by trusted clients.
|
||||||
|
Reference in New Issue
Block a user