OAuthServerMock

fun OAuthServerMock(hostname: String = "localhost", port: Int = 0)

Parameters

hostname

the Host name, defaults to "localhost".

port

the Host port number. A port number of zero will let the system pick up an ephemeral port in a bind operation, defaults to 0.