Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prefix OAuth properties ? i.e. as:client_id

I am seeing a lot of people using "as" as a prefix for return items on OAuth for example

   as:client_id

Can anyone tell me what significance this has?

I don't see it in the OAuth specs

Thanks

like image 541
Martin Avatar asked Oct 20 '22 07:10

Martin


1 Answers

In the examples that I found(Adding Refresh Tokens to a Web API v2 Authorization Server, OAuth Resource Password Flow Refresh Token with Web Api) that's just an example "key" to store the client_id in a dictionary local to the client for later usage.

By no means it is used in the interaction with the Authorization Server or as part of the OAuth 2.0 protocol itself.

like image 179
Hans Z. Avatar answered Oct 24 '22 08:10

Hans Z.