public static class SuperTokens.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(android.content.Context applicationContext,
java.lang.String apiDomain) |
Modifier and Type | Method and Description |
---|---|
SuperTokens.Builder |
apiBasePath(java.lang.String apiBasePath) |
void |
build() |
SuperTokens.Builder |
customHeaderProvider(CustomHeaderProvider customHeaderProvider) |
SuperTokens.Builder |
eventHandler(EventHandler eventHandler) |
SuperTokens.Builder |
maxRetryAttemptsForSessionRefresh(java.lang.Integer maxRetryAttemptsForSessionRefresh) |
SuperTokens.Builder |
sessionExpiredStatusCode(java.lang.Integer sessionExpiredStatusCode) |
SuperTokens.Builder |
sessionTokenBackendDomain(java.lang.String cookieDomain) |
SuperTokens.Builder |
tokenTransferMethod(java.lang.String tokenTransferMethod) |
public Builder(android.content.Context applicationContext, java.lang.String apiDomain)
public SuperTokens.Builder apiBasePath(java.lang.String apiBasePath)
public SuperTokens.Builder sessionExpiredStatusCode(java.lang.Integer sessionExpiredStatusCode)
public SuperTokens.Builder maxRetryAttemptsForSessionRefresh(java.lang.Integer maxRetryAttemptsForSessionRefresh)
public SuperTokens.Builder sessionTokenBackendDomain(java.lang.String cookieDomain)
public SuperTokens.Builder customHeaderProvider(CustomHeaderProvider customHeaderProvider)
public SuperTokens.Builder eventHandler(EventHandler eventHandler)
public SuperTokens.Builder tokenTransferMethod(java.lang.String tokenTransferMethod)
public void build() throws java.net.MalformedURLException
java.net.MalformedURLException