MppAvailablePushMethod Class Reference

Inherits from NSObject
Declared in MppAvailablePushMethod.h
MppAvailablePushMethod.m

Overview

Class describing available push methods.

MppAvailablePushMethod properties

  type

The push method type of the URI. Issuer must respect specific rules when selecting the URI where they will send the consumer. Because mobile apps provide a better mobile experience than the web browsers, Issuers should always try and direct the consumer to iOS app of the Token Requestor, when possible.

@property (nonatomic, copy, readonly, nullable) NSString *type

Return Value

The push method type.

Discussion

The push method type of the URI. Issuer must respect specific rules when selecting the URI where they will send the consumer. Because mobile apps provide a better mobile experience than the web browsers, Issuers should always try and direct the consumer to iOS app of the Token Requestor, when possible.

Declared In

MppAvailablePushMethod.h

  uri

The URI to open the token requestor’s application or website.

@property (nonatomic, copy, readonly, nullable) NSString *uri

Return Value

The URI to open the token requestor’s application or website.

Discussion

The URI to open the token requestor’s application or website.

Declared In

MppAvailablePushMethod.h

MppAvailablePushMethod methods

+ availablePushMethodWithDictionary:

Constructs push method from values passed in dictionary.

+ (instancetype)availablePushMethodWithDictionary:(NSDictionary *_Nonnull)dictionary

Parameters

dictionary

Dictionary containing type and uri to create a push method.

Return Value

Available push method.

Discussion

Constructs push method from values passed in dictionary.

Declared In

MppAvailablePushMethod.h

– isValid

Verify if given push method is valid.

- (BOOL)isValid

Return Value

Bool value if given push method is valid.

Discussion

Verify if given push method is valid.

To pass verification, type and uri of the push method should be valid.

Declared In

MppAvailablePushMethod.h