ApiServiceProvider
class ApiServiceProvider extends Provider (View source)
Constants
KEY_PRIVATE |
|
KEY_PUBLIC |
|
Properties
protected Application | $app | from Provider | |
private | $keyPair |
Methods
register()
Register API related stuff
repositoryFactory($factoryClass, $entityClass)
No description
repositoryFor($class)
No description
string[]
getKeyPair()
Generate new RSA keys if needed
string|null
getKey($handle)
Get a key by handle
registerAuthorizationServer()
Register the authorization and authentication server classes
Details
__construct(Application $app)
No description
register()
Register API related stuff
provides()
No description
private
repositoryFactory($factoryClass, $entityClass)
No description
private
repositoryFor($class)
No description
private string[]
getKeyPair()
Generate new RSA keys if needed
private string|null
getKey($handle)
Get a key by handle
protected
registerAuthorizationServer()
Register the authorization and authentication server classes