mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
(docs) set generic user attributes
This commit is contained in:
parent
365bba06e1
commit
6a48fa64ce
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ The following can be used to customize attribute names when interacting with the
|
|||
```shell
|
||||
GENERIC_USER_ID_ATTRIBUTE = "given_name"
|
||||
GENERIC_USER_EMAIL_ATTRIBUTE = "family_name"
|
||||
GENERIC_USER_DISPLAY_NAME_ATTRIBUTE = "display_name"
|
||||
GENERIC_USER_FIRST_NAME_ATTRIBUTE = "first_name"
|
||||
GENERIC_USER_LAST_NAME_ATTRIBUTE = "last_name"
|
||||
GENERIC_USER_ROLE_ATTRIBUTE = "given_role"
|
||||
GENERIC_CLIENT_STATE = "some-state" # if the provider needs a state parameter
|
||||
GENERIC_INCLUDE_CLIENT_ID = "false" # some providers enforce that the client_id is not in the body
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue