public class AuthInfo extends Object
NOTE: This object will be used by the native code and resembles AuthInfo structure in the native codebase.
NOTE: Suppressing Findbug error as this code will be accessed from native codebase.
| Constructor and Description |
|---|
AuthInfo(AuthInfoType authType,
byte[] data,
long expiration)
Public constructor
|
AuthInfo(AuthInfoType authType,
String data,
long expiration)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
AuthInfoType |
getAuthType() |
byte[] |
getData() |
long |
getExpiration() |
int |
getIntAuthType() |
int |
getVersion() |
public AuthInfo(@NonNull
AuthInfoType authType,
@Nullable
String data,
long expiration)
authType - Authentication typedata - String representation or NULLexpiration - Expiration in absolute time in 100nspublic AuthInfo(@NonNull
AuthInfoType authType,
@Nullable
byte[] data,
long expiration)
authType - Authentication typedata - Acual bits of the auth or NULLexpiration - Expiration in absolute time in 100ns@NonNull public AuthInfoType getAuthType()
public int getIntAuthType()
@Nullable public byte[] getData()
public long getExpiration()
public int getVersion()
Copyright © 2019. All rights reserved.