MoEngageNetworkAuthorizationConfig
@objc
public class MoEngageNetworkAuthorizationConfig : NSObject
Configuration Related to Network Request Authorization.
-
Jwt Configuration, if true all Network Request will be authenticated with jwt token By Default, applicable for only identified users
Declaration
Swift
@objc public let isJwtEnabled: Bool -
If true, JWT will be enabled for all users (identified and anonymous both).
Declaration
Swift
@objc public let shouldEnableForAllUsers: Bool -
Initialize the instance of type
MoEngageNetworkAuthorizationConfigDeclaration
Swift
@objc public init(isJwtEnabled: Bool, shouldEnableForAllUsers: Bool)Parameters
isJwtEnabledPass true to enable to authenticate all API calls with jwt token
shouldEnableForAllUsersPass true to enable jwt for all users (identified and anonymous both)
-
Initialize the instance of type
MoEngageNetworkAuthorizationConfigDeclaration
Swift
@objc public init(isJwtEnabled: Bool)Parameters
isJwtEnabledPass true to enable to authenticate all API calls with jwt token