EMOathFactory Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | EMOathFactory.h |
Create GemaltoOathDevice
– createGemaltoOathDeviceWithToken:error:
Creates a Gemalto OATH device with default settings returned from [EMOathFactory defaultSoftGemaltoOathSettings].
- (id<EMGemaltoOathDevice>)createGemaltoOathDeviceWithToken:(id<EMOathToken>)token error:(NSError **)errorParameters
token |
The token. |
|---|---|
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
A Gemalto OATH device object.
Exceptions
NSInternalInconsistencyException |
When the token suppports more than one key (e.g. a token with |
|---|
Declared In
EMOathFactory.h
– createSoftGemaltoOathDeviceWithToken:settings:error:
Creates a customized soft Gemalto OATH device.
- (id<EMGemaltoOathDevice>)createSoftGemaltoOathDeviceWithToken:(id<EMSoftOathToken>)token settings:(id<EMSoftGemaltoOathSettings>)settings error:(NSError **)errorParameters
token |
The token. |
|---|---|
settings |
The Gemalto OATH settings. |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
A Gemalto OATH device.
Exceptions
NSInternalInconsistencyException |
When the token suppports more than one key (e.g. a token with |
|---|
Declared In
EMOathFactory.h
– mutableSoftGemaltoOathSettings
Creates a mutable Gemalto OATH settings.
- (id<EMMutableSoftGemaltoOathSettings>)mutableSoftGemaltoOathSettingsReturn Value
New mutable settings based on the default settings returned from [EMOathFactory defaultSoftGemaltoOathSettings].
Declared In
EMOathFactory.h
– defaultSoftGemaltoOathSettings
Gets the default settings for Gemalto OATH devices.
- (id<EMSoftGemaltoOathSettings>)defaultSoftGemaltoOathSettingsReturn Value
The default settings.
Declared In
EMOathFactory.h
Create OathDevice
– createSoftOathDeviceWithToken:settings:error:
Creates a customized soft OATH device using the specified settings.
- (id<EMOathDevice>)createSoftOathDeviceWithToken:(id<EMSoftOathToken>)token settings:(id<EMSoftOathSettings>)settings error:(NSError **)errorParameters
token |
The token. |
|---|---|
settings |
The OATH settings. |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
The OATH device.
Exceptions
NSInternalInconsistencyException |
When the token suppports more than one key (e.g. a token with |
|---|
Declared In
EMOathFactory.h
– mutableSoftOathSettings
Creates a mutable OATH settings.
- (id<EMMutableSoftOathSettings>)mutableSoftOathSettingsReturn Value
New mutable OATH settings based on the default OATH settings returned from [EMOathFactory defaultSoftOathSettings].
Declared In
EMOathFactory.h
– defaultSoftOathSettings
Gets the default settings for OATH devices.
- (id<EMSoftOathSettings>)defaultSoftOathSettingsReturn Value
The default settings.
Declared In
EMOathFactory.h
Create DcvOathDevice
– createSoftDcvOathDeviceWithToken:settings:error:
Creates a customized soft DCV OATH device using the specified settings.
- (id<EMDcvOathDevice>)createSoftDcvOathDeviceWithToken:(id<EMSoftOathToken>)token settings:(id<EMSoftDcvOathSettings>)settings error:(NSError **)errorParameters
token |
The token. |
|---|---|
settings |
The DCV OATH settings. |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
The DCV OATH device.
Exceptions
NSInternalInconsistencyException |
When the token suppports more than one key (e.g. a token with |
|---|
Declared In
EMOathFactory.h
– mutableSoftDcvOathSettings
Creates a mutable DCV OATH settings.
- (id<EMMutableSoftDcvOathSettings>)mutableSoftDcvOathSettingsReturn Value
New mutable DCV OATH settings based on the default OATH settings returned from [EMOathFactory defaultSoftOathSettings].
Declared In
EMOathFactory.h
– defaultSoftDcvOathSettings
Gets the default settings for DCV OATH devices.
- (id<EMSoftDcvOathSettings>)defaultSoftDcvOathSettingsReturn Value
The default settings.
Declared In
EMOathFactory.h