start
Starts the MockOAuth2Server on the localhost interface.
Parameters
port
The port the server should listen on, a value of 0 (which is the default) selects any available port.
Throws
Runtime error if unable to start server.
Starts the MockOAuth2Server on the given inetAddress IP address at the given port.
Parameters
port
The port that the server should listen on, a value of 0 selects any available port.
inet Address
The IP address that the server should bind to.
Throws
Runtime error if unable to start server.