Skip to content

MultiAgentAuthenticator

MarcoDotIO edited this page Jul 6, 2023 · 2 revisions

MultiAgentAuthenticator

public struct MultiAgentAuthenticator: AuthenticatorProtocol 

Inheritance

AuthenticatorProtocol

Initializers

init(sender:secondarySigner:)

public init(sender: Authenticator, secondarySigner: [(AccountAddress, Authenticator)]) 

Properties

sender

public var sender: Authenticator

secondarySigner

public var secondarySigner: [(AccountAddress, Authenticator)]

Methods

secondaryAddresses()

Returns all of the account addresses of the secondary signers.

public func secondaryAddresses() -> [AccountAddress] 

Returns

An array of AccountAddress objects

verify(_:)

public func verify(_ data: Data) throws -> Bool 

deserialize(from:)

public static func deserialize(from deserializer: Deserializer) throws -> MultiAgentAuthenticator 

serialize(_:)

public func serialize(_ serializer: Serializer) throws 

isEqualTo(_:)

public func isEqualTo(_ rhs: AuthenticatorProtocol) -> Bool 
Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally