Package com.smartcar.sdk
Class AuthClient.Builder
- java.lang.Object
-
- com.smartcar.sdk.AuthClient.Builder
-
- Enclosing class:
- AuthClient
public static class AuthClient.Builder extends java.lang.Object
Builds a new AuthClient.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthClient
build()
AuthClient.Builder
clientId(java.lang.String clientId)
AuthClient.Builder
clientSecret(java.lang.String clientSecret)
AuthClient.Builder
mode(java.lang.String mode)
AuthClient.Builder
redirectUri(java.lang.String redirectUri)
AuthClient.Builder
testMode(boolean testMode)
Deprecated.usemode(String)
instead.
-
-
-
Method Detail
-
clientId
public AuthClient.Builder clientId(java.lang.String clientId)
-
clientSecret
public AuthClient.Builder clientSecret(java.lang.String clientSecret)
-
redirectUri
public AuthClient.Builder redirectUri(java.lang.String redirectUri)
-
testMode
@Deprecated public AuthClient.Builder testMode(boolean testMode)
Deprecated.usemode(String)
instead.
-
mode
public AuthClient.Builder mode(java.lang.String mode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
build
public AuthClient build() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-