mock-oauth2-server
Toggle table of contents
3.0.1
jvm
Platform filter
jvm
Switch theme
Search in API
mock-oauth2-server
mock-oauth2-server
/
no.nav.security.mock.oauth2.http
/
OAuth2HttpRequest
OAuth2Http
Request
data
class
OAuth2HttpRequest
(
val
headers
:
Headers
,
val
method
:
String
,
val
originalUrl
:
HttpUrl
,
val
body
:
String
?
=
null
)
Members
Constructors
OAuth2Http
Request
Link copied to clipboard
constructor
(
headers
:
Headers
,
method
:
String
,
originalUrl
:
HttpUrl
,
body
:
String
?
=
null
)
Types
Parameters
Link copied to clipboard
data
class
Parameters
(
val
parameterString
:
String
?
)
Properties
body
Link copied to clipboard
val
body
:
String
?
=
null
cookies
Link copied to clipboard
val
cookies
:
Map
<
String
,
String
>
form
Parameters
Link copied to clipboard
val
formParameters
:
OAuth2HttpRequest.Parameters
headers
Link copied to clipboard
val
headers
:
Headers
method
Link copied to clipboard
val
method
:
String
original
Url
Link copied to clipboard
val
originalUrl
:
HttpUrl
url
Link copied to clipboard
val
url
:
HttpUrl
Functions
as
Authentication
Request
Link copied to clipboard
fun
asAuthenticationRequest
(
)
:
AuthenticationRequest
as
Nimbus
HTTPRequest
Link copied to clipboard
fun
asNimbusHTTPRequest
(
)
:
HTTPRequest
as
Nimbus
Token
Request
Link copied to clipboard
fun
asNimbusTokenRequest
(
)
:
TokenRequest
as
Token
Exchange
Request
Link copied to clipboard
fun
asTokenExchangeRequest
(
)
:
TokenRequest
grant
Type
Link copied to clipboard
fun
grantType
(
)
:
GrantType
to
Well
Known
Link copied to clipboard
fun
toWellKnown
(
)
:
WellKnown