Class
Security
@objc(FSSecurity)
public class Security: NSObject
Represents a security object.
See Security Overview for more information about security.
Relationships
Conforms To
NSObject
Initializers
init(policy:appSecret:)
@objc public convenience init(policy: Policy, appSecret: String) throws
A convenience initializer that takes a Policy
and an appSecret
as parameters.
Parameters
Name | Type | Description |
---|---|---|
policy | Policy |
A configured |
appSecret | String |
A secret taken from the developer portal. |
init(encodedPolicy:signature:)
@objc public init(encodedPolicy: String, signature: String)
The designated initializer.
Parameters
Name | Type | Description |
---|---|---|
encodedPolicy | String |
An encoded policy. |
signature | String |
A computed signature. |