AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
OAuthProtectedResourceMetadata
OAuth
Protected
Resource
Metadata
@
Serializable
class
OAuthProtectedResourceMetadata
(
val
resource
:
String
,
val
authorizationServers
:
List
<
String
>
?
=
null
,
val
jwksUri
:
String
?
=
null
,
val
scopesSupported
:
List
<
String
>
?
=
null
,
val
bearerMethodsSupported
:
List
<
String
>
?
=
null
,
val
resourceName
:
String
?
=
null
)
(
source
)
Since
0.3.0-beta01
Members
Constructors
OAuth
Protected
Resource
Metadata
Link copied to clipboard
constructor
(
resource
:
String
,
authorizationServers
:
List
<
String
>
?
=
null
,
jwksUri
:
String
?
=
null
,
scopesSupported
:
List
<
String
>
?
=
null
,
bearerMethodsSupported
:
List
<
String
>
?
=
null
,
resourceName
:
String
?
=
null
)
Properties
authorization
Servers
Link copied to clipboard
@
SerialName
(
value
=
"authorization_servers"
)
val
authorizationServers
:
List
<
String
>
?
bearer
Methods
Supported
Link copied to clipboard
@
SerialName
(
value
=
"bearer_methods_supported"
)
val
bearerMethodsSupported
:
List
<
String
>
?
jwks
Uri
Link copied to clipboard
@
SerialName
(
value
=
"jwks_uri"
)
val
jwksUri
:
String
?
resource
Link copied to clipboard
val
resource
:
String
resource
Name
Link copied to clipboard
@
SerialName
(
value
=
"resource_name"
)
val
resourceName
:
String
?
scopes
Supported
Link copied to clipboard
@
SerialName
(
value
=
"scopes_supported"
)
val
scopesSupported
:
List
<
String
>
?