use auth for swagger api

Hi guys,
I need to use swagger api which use auth() for authorization,
flow implicit grant
I dont know how I can get token key as api’s client
can you help me what should i do to conect api through auth()?
my app is php website