Package com.smartcar.sdk
Class AuthClient.AuthUrlBuilder
- java.lang.Object
-
- com.smartcar.sdk.AuthClient.AuthUrlBuilder
-
- Enclosing class:
- AuthClient
public class AuthClient.AuthUrlBuilder extends java.lang.Object
A builder for creating Authorization URLs. Access throughAuthClient.authUrlBuilder(String[])
.
-
-
Constructor Summary
Constructors Constructor Description AuthUrlBuilder(java.lang.String[] scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthClient.AuthUrlBuilder
addFlag(java.lang.String name, boolean value)
AuthClient.AuthUrlBuilder
addFlag(java.lang.String name, java.lang.String value)
AuthClient.AuthUrlBuilder
addUser(java.lang.String user)
AuthClient.AuthUrlBuilder
approvalPrompt(boolean approvalPrompt)
java.lang.String
build()
AuthClient.AuthUrlBuilder
makeBypass(java.lang.String make)
AuthClient.AuthUrlBuilder
singleSelect(boolean singleSelect)
AuthClient.AuthUrlBuilder
singleSelectVin(java.lang.String vin)
AuthClient.AuthUrlBuilder
state(java.lang.String state)
-
-
-
Method Detail
-
state
public AuthClient.AuthUrlBuilder state(java.lang.String state)
-
approvalPrompt
public AuthClient.AuthUrlBuilder approvalPrompt(boolean approvalPrompt)
-
makeBypass
public AuthClient.AuthUrlBuilder makeBypass(java.lang.String make)
-
singleSelect
public AuthClient.AuthUrlBuilder singleSelect(boolean singleSelect)
-
singleSelectVin
public AuthClient.AuthUrlBuilder singleSelectVin(java.lang.String vin)
-
addFlag
public AuthClient.AuthUrlBuilder addFlag(java.lang.String name, java.lang.String value)
-
addFlag
public AuthClient.AuthUrlBuilder addFlag(java.lang.String name, boolean value)
-
addUser
public AuthClient.AuthUrlBuilder addUser(java.lang.String user)
-
build
public java.lang.String build()
-
-