Filestack Documentation

Class Security

@objc(FSSecurity)
public class Security: NSObject  

Represents a security object.

See Security Overview for more information about security.

Security Security NSObject NSObject Security->NSObject

Conforms To

NSObject

Initializers

init(policy:​app​Secret:​)

@objc public convenience init(policy: Policy, appSecret: String) throws  

A convenience initializer that takes a Policy and an appSecret as parameters.

Parameters

policy Policy

A configured Policy object.

app​Secret String

A secret taken from the developer portal.

init(encoded​Policy:​signature:​)

@objc public init(encodedPolicy: String, signature: String)  

The designated initializer.

Parameters

encoded​Policy String

An encoded policy.

signature String

A computed signature.

Properties

encoded​Policy

public let encodedPolicy: String

An encoded policy.

signature

public let signature: String

A computed signature.

description

override public var description: String  

:nodoc: