AI-Mocks
Toggle table of contents
0.8.1-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
AI-Mocks
ai-mocks-a2a-models
/
dev.mokksy.aimocks.a2a.model
/
OAuth2Flow
OAuth2Flow
common
@
Serializable
data
class
OAuth2Flow
(
val
authorizationUrl
:
String
?
=
null
,
val
tokenUrl
:
String
?
=
null
,
val
refreshUrl
:
String
?
=
null
,
val
scopes
:
Map
<
String
,
String
>
?
=
null
)
(
source
)
OAuth2 flow configuration.
Members
Constructors
OAuth2Flow
Link copied to clipboard
common
constructor
(
authorizationUrl
:
String
?
=
null
,
tokenUrl
:
String
?
=
null
,
refreshUrl
:
String
?
=
null
,
scopes
:
Map
<
String
,
String
>
?
=
null
)
Properties
authorization
Url
Link copied to clipboard
common
@
SerialName
(
value
=
"authorizationUrl"
)
@
EncodeDefault
val
authorizationUrl
:
String
?
refresh
Url
Link copied to clipboard
common
@
SerialName
(
value
=
"refreshUrl"
)
@
EncodeDefault
val
refreshUrl
:
String
?
scopes
Link copied to clipboard
common
@
SerialName
(
value
=
"scopes"
)
@
EncodeDefault
val
scopes
:
Map
<
String
,
String
>
?
token
Url
Link copied to clipboard
common
@
SerialName
(
value
=
"tokenUrl"
)
@
EncodeDefault
val
tokenUrl
:
String
?