Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to pass bearer token in swagger in laravel

'bearer_token' => [ // Unique name of security
   'type' => 'apiKey', // Valid values are "basic", "apiKey" or "oauth2".
   'description' => 'Enter token in format (Bearer <token>)',
   'name' => 'Authorization', // The name of the header or query parameter to be used.
   'in' => 'header', // The location of the API key. Valid values are "query" or "header".
],
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #bearer #token #swagger #laravel
ADD COMMENT
Topic
Name
6+7 =