Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 7.9 KB

PlatformOAuthClient.md

File metadata and controls

19 lines (15 loc) · 7.9 KB

PlatformOAuthClient

An OAuth client that an admin created for the workspace.

Fields

Field Type Required Description
clientId String ✔️ The OAuth client_id that the client sends to the authorization server. This is not the ID that usage records and usage limits use; see ai_gateway.usage_client_id.
displayName String ✔️ The client name that admins gave the client, or client_id when it has no name.
registrationType PlatformOAuthClientRegistrationType ✔️ How an OAuth client was registered.
clientType Optional<PlatformOAuthClientType> ➖ Whether an OAuth client can keep a secret.
grantTypes List<PlatformOAuthGrantType> ✔️ The OAuth grant types that the client can use.
tokenEndpointAuthMethod Optional<PlatformOAuthTokenEndpointAuthMethod> ➖ How an OAuth client authenticates to the token endpoint.
redirectUris List<String> ✔️ The redirect URIs that the client can use.
isEnabled boolean ✔️ Whether the client is enabled. A client that an admin disabled cannot authenticate.
createdAt OffsetDateTime ➖ When the client was created. Absent when it is not known.
aiGateway Optional<PlatformOAuthClientAiGateway> ➖ LLM Gateway details of an OAuth client.