Authorization
public struct Authorization : Codable, Equatable
Authorization struct for EosioTransaction.Action
.
-
The acting account.
Declaration
Swift
public var actor: EosioName
-
The permission under which the actor is executing the Action.
Declaration
Swift
public var permission: EosioName
-
Init Authorization with EosioNames.
-
Init Authorization with strings.
Throws
If the strings are not valid EosioNames.Declaration
Swift
public init(actor: String, permission: String) throws
Parameters
actor
Actor as String.
permission
Permission as String.