Interface AuthCallbacks
-
- All Known Implementing Classes:
DefaultAuthCallbacks
public interface AuthCallbacksInterface to the Kinesis Video Streams Producer Authentication Callbacks functionality. These will be used to integrate with the AuthBased on the configured AuthType, PIC will invoke the correct function.
PIC will pass the serialized auth bits to the stream callbacks, except PutStream. The auth bits for putStream come from getStreamingToken
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthInfogetDeviceCertificate()Returns the device certificate.StringgetDeviceFingerprint()Returns the device fingerprint uniquely identifying the device.AuthInfogetSecurityToken()Returns the device security token.
-
-
-
Method Detail
-
getDeviceCertificate
@Nullable AuthInfo getDeviceCertificate()
Returns the device certificate. Null if not integrated through certificates.- Returns:
- Device certificate bits
-
getSecurityToken
@Nullable AuthInfo getSecurityToken()
Returns the device security token. Null if not integrated through security tokens.- Returns:
- Device security token
-
getDeviceFingerprint
@Nullable String getDeviceFingerprint()
Returns the device fingerprint uniquely identifying the device. Null if no provisioning is allowed for the device in which case the device should be integrated with either the Certificate model or with the Security token model.- Returns:
- Device unique fingerprint.
-
-