mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
commit
ff476fcb2b
@ -28,7 +28,7 @@ If you require the permission of a user to access resources you need to determin
|
|||||||
|
|
||||||
## Client Type?
|
## Client Type?
|
||||||
|
|
||||||
Depending on whether or not the client is capable of keeping of keeping a secret will depend on which grant the client should use.
|
Depending on whether or not the client is capable of keeping a secret will depend on which grant the client should use.
|
||||||
|
|
||||||
If the client is a web application that has a server side component then you should implement the [authorization code grant](/authorization-server/auth-code-grant/).
|
If the client is a web application that has a server side component then you should implement the [authorization code grant](/authorization-server/auth-code-grant/).
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Ensure that you’ve set up your project to [autoload Composer-installed package
|
|||||||
|
|
||||||
Depending on [which grant](/authorization-server/which-grant/) you are implementing you will need to implement a number of repository interfaces. Each grant documentation page lists which repositories are required, and each repository interface has it's own documentation page.
|
Depending on [which grant](/authorization-server/which-grant/) you are implementing you will need to implement a number of repository interfaces. Each grant documentation page lists which repositories are required, and each repository interface has it's own documentation page.
|
||||||
|
|
||||||
The repositories are expected to return (on success) instances of [entity interfaces](https://github.com/thephpleague/oauth2-server/tree/V5-WIP/src/Entities/Interfaces); to make integration with your existing entities and models as easy as possible though, all required methods have been implemented as traits that you can use.
|
The repositories are expected to return (on success) instances of [entity interfaces](https://github.com/thephpleague/oauth2-server/tree/master/src/Entities); to make integration with your existing entities and models as easy as possible though, all required methods have been implemented as traits that you can use.
|
||||||
|
|
||||||
## Generating public and private keys
|
## Generating public and private keys
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user