Package net.minecraft.src
Class AccountInfo.MsaAccount
- java.lang.Object
-
- net.minecraft.src.AccountInfo
-
- net.minecraft.src.AccountInfo.MsaAccount
-
- Enclosing class:
- AccountInfo
public static final class AccountInfo.MsaAccount extends AccountInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.src.AccountInfo
AccountInfo.MsaAccount, AccountInfo.OfflineAccount, AccountInfo.OneShotAccount
-
-
Constructor Summary
Constructors Constructor Description MsaAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowedInSafeMode()
long
getExpiry()
java.lang.String
getMsaAccessToken()
java.lang.String
getRefreshToken()
java.lang.String
getSessionId()
java.lang.String
getTypeId()
void
login()
protected void
readCustomNbt(NBTTagCompound nbt)
void
setExpiry(long expiry)
void
setMsaAccessToken(java.lang.String msaAccessToken)
void
setRefreshToken(java.lang.String refreshToken)
void
setSessionId(java.lang.String sessionId)
protected void
writeCustomNbt(NBTTagCompound nbt)
-
Methods inherited from class net.minecraft.src.AccountInfo
allowDelete, fromNbt, getUsername, isOffline, readNbt, setUsername, toNbt, writeNbt
-
-
-
-
Method Detail
-
getTypeId
public java.lang.String getTypeId()
- Specified by:
getTypeId
in classAccountInfo
-
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId
in classAccountInfo
-
setSessionId
public void setSessionId(java.lang.String sessionId)
-
getExpiry
public long getExpiry()
-
setExpiry
public void setExpiry(long expiry)
-
getMsaAccessToken
public java.lang.String getMsaAccessToken()
-
setMsaAccessToken
public void setMsaAccessToken(java.lang.String msaAccessToken)
-
getRefreshToken
public java.lang.String getRefreshToken()
-
setRefreshToken
public void setRefreshToken(java.lang.String refreshToken)
-
writeCustomNbt
protected void writeCustomNbt(NBTTagCompound nbt)
- Specified by:
writeCustomNbt
in classAccountInfo
-
readCustomNbt
protected void readCustomNbt(NBTTagCompound nbt)
- Specified by:
readCustomNbt
in classAccountInfo
-
login
public void login() throws java.io.IOException
- Throws:
java.io.IOException
-
allowedInSafeMode
public boolean allowedInSafeMode()
- Overrides:
allowedInSafeMode
in classAccountInfo
-
-