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 booleanallowedInSafeMode()longgetExpiry()java.lang.StringgetMsaAccessToken()java.lang.StringgetRefreshToken()java.lang.StringgetSessionId()java.lang.StringgetTypeId()voidlogin()protected voidreadCustomNbt(NBTTagCompound nbt)voidsetExpiry(long expiry)voidsetMsaAccessToken(java.lang.String msaAccessToken)voidsetRefreshToken(java.lang.String refreshToken)voidsetSessionId(java.lang.String sessionId)protected voidwriteCustomNbt(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:
getTypeIdin classAccountInfo
-
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionIdin 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:
writeCustomNbtin classAccountInfo
-
readCustomNbt
protected void readCustomNbt(NBTTagCompound nbt)
- Specified by:
readCustomNbtin classAccountInfo
-
login
public void login() throws java.io.IOException- Throws:
java.io.IOException
-
allowedInSafeMode
public boolean allowedInSafeMode()
- Overrides:
allowedInSafeModein classAccountInfo
-
-