Auth AM database
Authorization of AM database user
To get the value of request header x-am-user-authorization
, use g.req.auth.authAMDB
.
Setting sample object
- API Maker admin can make require the database authorization for any API using set below code in Settings or Secret.
- Provide the groups name comma separated in the 'groupsColumn' field and provide the 'instance', 'database', 'table' from which that 'groupsColumn' exist.
- If you provide passwordChangedAtColumn (v1.11.0+), password field will not be present in JWT token and this value will be present, It is used to identify pass is changed or not.
Get token
- Get a token of API Maker's database user(application user).
- For more information click here.