public class DefaultAuthCallbacks extends Object implements AuthCallbacks
| Modifier and Type | Field and Description |
|---|---|
static long |
CREDENTIALS_NEVER_EXPIRE
A sentinel value indicating the credentials never expire
|
| Constructor and Description |
|---|
DefaultAuthCallbacks(KinesisVideoCredentialsProvider credentialsProvider,
ScheduledExecutorService executor,
Log log) |
| Modifier and Type | Method and Description |
|---|---|
AuthInfo |
getDeviceCertificate()
Returns the device certificate.
|
String |
getDeviceFingerprint()
Returns the device fingerprint uniquely identifying the device.
|
AuthInfo |
getSecurityToken()
Returns the device security token.
|
public static final long CREDENTIALS_NEVER_EXPIRE
public DefaultAuthCallbacks(@NonNull
KinesisVideoCredentialsProvider credentialsProvider,
@NonNull
ScheduledExecutorService executor,
@NonNull
Log log)
@Nullable public AuthInfo getDeviceCertificate()
AuthCallbacksgetDeviceCertificate in interface AuthCallbacks@Nullable public AuthInfo getSecurityToken()
AuthCallbacksgetSecurityToken in interface AuthCallbacks@Nullable public String getDeviceFingerprint()
AuthCallbacksgetDeviceFingerprint in interface AuthCallbacksCopyright © 2019. All rights reserved.