Auth constructor

Auth(
  1. String secret, {
  2. Duration tokenTtl = const Duration(hours: 1),
})

Creates a new Auth instance with the specified secret and tokenTtl.

Implementation

Auth(this.secret, {this.tokenTtl = const Duration(hours: 1)});