AeroGear Android Library 1.1.0

org.jboss.aerogear.android.authentication
Class AuthenticationConfig

java.lang.Object
  extended by org.jboss.aerogear.android.authentication.AuthenticationConfig

public class AuthenticationConfig
extends Object

This is the minimum (hopefully) necessary parameters for an AuthenticationModule


Constructor Summary
AuthenticationConfig()
           
 
Method Summary
 AuthType getAuthType()
           
 String getEnrollEndpoint()
           
 String getLoginEndpoint()
           
 String getLogoutEndpoint()
           
 Integer getTimeout()
          Timeout is the length of time in milliseconds that a Module will wait for a response from a call to login, logout, or enroll
 void setAuthType(AuthType authType)
           
 void setEnrollEndpoint(String enrollEndpoint)
           
 void setLoginEndpoint(String loginEndpoint)
           
 void setLogoutEndpoint(String logoutEndpoint)
           
 void setTimeout(Integer timeout)
          Timeout is the length of time in milliseconds that a Module will wait for a response from a call to login, logout, or enroll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationConfig

public AuthenticationConfig()
Method Detail

getLoginEndpoint

public String getLoginEndpoint()

setLoginEndpoint

public void setLoginEndpoint(String loginEndpoint)

getLogoutEndpoint

public String getLogoutEndpoint()

setLogoutEndpoint

public void setLogoutEndpoint(String logoutEndpoint)

getEnrollEndpoint

public String getEnrollEndpoint()

setEnrollEndpoint

public void setEnrollEndpoint(String enrollEndpoint)

getAuthType

public AuthType getAuthType()

setAuthType

public void setAuthType(AuthType authType)

getTimeout

public Integer getTimeout()
Timeout is the length of time in milliseconds that a Module will wait for a response from a call to login, logout, or enroll

Returns:
the current timeout.

setTimeout

public void setTimeout(Integer timeout)
Timeout is the length of time in milliseconds that a Module will wait for a response from a call to login, logout, or enroll

Parameters:
timeout - the current timeout.

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.