DispatchTargetConfiguration

public struct DispatchTargetConfiguration

A DispatchTargetConfiguration instance defines the options required to create a dispatch target.

  • Struct representing a dispatch target identifier that belongs to a given user.

    See more

    Declaration

    Swift

    public struct IdUsernamePair
  • The information required by the dispatcher to dispatch a token.

    Declaration

    Swift

    public let identifier: String?
  • The name describing the dispatch target, used as a user-friendly representation that helps the user to identify this target.

    Declaration

    Swift

    public let name: String
  • Array of username / dispatch target identifier pairs.

    Declaration

    Swift

    public var idUsernamePairs: [IdUsernamePair]?
  • Creates a new DispatchTargetConfiguration instance.

    Declaration

    Swift

    public init(identifier: String?, name: String)

    Parameters

    identifier

    The information required by the dispatcher to dispatch a token.

    name

    The name describing the dispatch target, used as a user-friendly representation that helps the user to identify this target. It must be unique for all the dispatch targets defined for the user.