Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GroupManager

Hierarchy

  • GroupManager

Index

Constructors

constructor

  • new GroupManager(__namedParameters: { cardManager: CardManager; groupLocalStorage: GroupLocalStorage; identity: string; privateKeyLoader: PrivateKeyLoader }): GroupManager

Methods

addAccess

  • addAccess(sessionId: string, allowedCards: ICard[]): Promise<void>

cleanup

  • cleanup(): Promise<void>

delete

  • delete(sessionId: string): Promise<void>

pull

  • pull(sessionId: string, initiatorCard: ICard): Promise<Group>

reAddAccess

  • reAddAccess(sessionId: string, allowedCard: ICard): Promise<void>

removeAccess

  • removeAccess(sessionId: string, forbiddenIdentities: string[]): Promise<void>

retrieve

  • retrieve(sessionId: string, epochNumber?: number): Promise<Group>

store

  • store(ticket: Ticket, cards: ICard[]): Promise<Group>

Generated using TypeDoc