Binding
public protocol Binding
Device Binding protocol to provide utility methods for DeviceBindingCallback
and DeviceSigningVerifierCallback
-
Create the interface for the authentication type
Declaration
Swift
func getDeviceAuthenticator(type: DeviceBindingAuthenticationType) -> DeviceAuthenticator
Parameters
type
The Device Binding Authentication Type
Return Value
The recommended
DeviceAuthenticator
that can handle the providedDeviceBindingAuthenticationType
-
Get Expiration date for the signed token, claim “exp” will be set to the JWS.
Declaration
Swift
func getExpiration(timeout: Int?) -> Date
Return Value
The expiration date
-
Default property(method) to identify
DeviceAuthenticator
Declaration
Swift
var deviceAuthenticatorIdentifier: (DeviceBindingAuthenticationType) -> DeviceAuthenticator { get }