store bearer token in database


My question is how to store token details in database.

In which file we have to write the code.

how to store token in database.

Please help me.

I don’t know what you mean by token here. There are many kinds of tokens, for many purposes.


Thanks for your replay.

i am using oauth2 server token for suitecrm login.

suitecrm version: 7.10.7

I’m afraid I am not familiar with that mechanism, so my help might not be very appropriate.

But you can store whatever you want in the database, in whatever way you prefer.

You can create custom fields in Studio, and then use the Beans (see the Documentation, Developer Guide) to access them.

Or you can create your own table and directly access the SQL engine from PHP.