mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add /me endpoint
This commit is contained in:
@@ -2,19 +2,25 @@ api_platform:
|
||||
title: Domain Watchdog API
|
||||
version: 1.0.0
|
||||
formats:
|
||||
jsonld: ['application/ld+json']
|
||||
json: ['application/json']
|
||||
jsonld: [ 'application/ld+json' ]
|
||||
json: [ 'application/json' ]
|
||||
docs_formats:
|
||||
jsonld: ['application/ld+json']
|
||||
jsonopenapi: ['application/vnd.openapi+json']
|
||||
html: ['text/html']
|
||||
jsonld: [ 'application/ld+json' ]
|
||||
jsonopenapi: [ 'application/vnd.openapi+json' ]
|
||||
html: [ 'text/html' ]
|
||||
defaults:
|
||||
stateless: true
|
||||
cache_headers:
|
||||
vary: ['Content-Type', 'Authorization', 'Origin']
|
||||
vary: [ 'Content-Type', 'Authorization', 'Origin' ]
|
||||
extra_properties:
|
||||
standard_put: true
|
||||
rfc_7807_compliant_errors: true
|
||||
keep_legacy_inflector: false
|
||||
use_symfony_listeners: true
|
||||
show_webby: false
|
||||
swagger:
|
||||
api_keys:
|
||||
JWT:
|
||||
name: Authorization
|
||||
type: header
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ security:
|
||||
pattern: ^/api/login
|
||||
stateless: true
|
||||
json_login:
|
||||
check_path: /api/login
|
||||
check_path: api_login
|
||||
success_handler: lexik_jwt_authentication.handler.authentication_success
|
||||
failure_handler: lexik_jwt_authentication.handler.authentication_failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user