Package org.dnsge.powerschoolapi.user
Class UserConfig
- java.lang.Object
-
- org.dnsge.powerschoolapi.user.UserConfig
-
public class UserConfig extends java.lang.Object
Class that represents a User's configuration- Version:
- 1.0.3
- See Also:
User
-
-
Constructor Summary
Constructors Constructor Description UserConfig(PowerschoolClient client, java.lang.String username, java.lang.String password, org.jsoup.nodes.Document constructionDocument, java.util.Map<java.lang.String,java.lang.String> authData)
Basic Constructor for a new UserConfig
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAuthCookies()
PowerschoolClient
getClient()
org.jsoup.nodes.Document
getConstructionDocument()
java.lang.String
getPassword()
java.lang.String
getUsername()
-
-
-
Constructor Detail
-
UserConfig
public UserConfig(PowerschoolClient client, java.lang.String username, java.lang.String password, org.jsoup.nodes.Document constructionDocument, java.util.Map<java.lang.String,java.lang.String> authData)
Basic Constructor for a new UserConfig- Parameters:
client
- PowerschoolClient that is used by this configusername
- User usernamepassword
- User passwordconstructionDocument
- JSoup Document to construct course information fromauthData
- Authentication cookies for User
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
- Returns:
UserConfig
stored username
-
getPassword
public java.lang.String getPassword()
- Returns:
UserConfig
stored password
-
getAuthCookies
public java.util.Map<java.lang.String,java.lang.String> getAuthCookies()
- Returns:
- Authentication Cookies for this
UserConfig
-
getClient
public PowerschoolClient getClient()
- Returns:
- PowerschoolClient of this
UserConfig
- See Also:
DefaultPowerschoolClient
-
getConstructionDocument
public org.jsoup.nodes.Document getConstructionDocument()
- Returns:
Document
that was used to generate thisUserConfig
- See Also:
Document
-
-