OAuthResponse.Builder


class OAuthResponse.Builder


Builder for constructing new instance of authentication response.

Summary

Public constructors

Public functions

OAuthResponse

Build the response instance specified by this builder

OAuthResponse.Builder
setErrorCode(errorCode: Int)

Set the error code to indicate the request result status

OAuthResponse.Builder
setResponseUrl(responseUrl: Uri)

Set the Url of the auth response

Public constructors

Builder

Added in 1.0.0
Builder()

Public functions

build

Added in 1.0.0
fun build(): OAuthResponse

Build the response instance specified by this builder

setErrorCode

Added in 1.0.0
fun setErrorCode(errorCode: Int): OAuthResponse.Builder

Set the error code to indicate the request result status

setResponseUrl

Added in 1.0.0
fun setResponseUrl(responseUrl: Uri): OAuthResponse.Builder

Set the Url of the auth response