EMOathService
Objective-C
@interface EMOathService : NSObject
Swift
class EMOathService : NSObject
OathService is the entry-point for Oath features.
Since
4.0-
Designated constructor. Returns the EMOathService object created using the EMOtpModule
Since
4.0
Declaration
Objective-C
+ (instancetype)serviceWithModule:(EMOtpModule *)module;Swift
convenience init!(module: EMOtpModule!)Parameters
modulean instance of EMOtpModule
Return Value
EMOathService module instance.
-
Returns Factory for creating OATH settings and OATH devices.
Since
4.0
Return Value
EMCapFactory object.
-
Returns object which confirms to EMOathTokenManager protocol for OATH tokens. Note an error could return if database file is not decrypted in time, please try again.
Since
4.0Declaration
Objective-C
- (id<EMOathTokenManager>)tokenManager:(NSError **)error;Swift
func tokenManager() throws -> any EMOathTokenManagerParameters
errorIf 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
NULL.Return Value
object which confirms to EMCapTokenManager protocol.
EMOathService Class Reference