EMOathService Class Reference

Inherits from NSObject
Declared in EMOathService.h

Overview

OathService is the entry-point for Oath features.

+ serviceWithModule:

Designated constructor. Returns the EMOathService object created using the EMOtpModule

+ (EMOathService *)serviceWithModule:(EMOtpModule *)module

Parameters

module

an instance of EMOtpModule

Return Value

EMOathService module instance.

Availability

4.0

Declared In

EMOathService.h

– oathFactory

Returns Factory for creating OATH settings and OATH devices.

- (EMOathFactory *)oathFactory

Return Value

EMCapFactory object.

Availability

4.0

Declared In

EMOathService.h

– tokenManager:

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.

- (id<EMOathTokenManager>)tokenManager:(NSError **)error

Parameters

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 NULL.

Return Value

object which confirms to EMCapTokenManager protocol.

Availability

4.0

Declared In

EMOathService.h