Type Alias IdentityOptions
type IdentityOptions = {
secret: string | Uint8Array;
resolve(request: Request): Identity | Promise<Identity | null> | null;
}
secret: string | Uint8Array;
resolve(request: Request): Identity | Promise<Identity | null> | null;
}
how a request becomes a principal; the secret keys the partition id