• Create an auth database entry for the current user. Should be called whenever a user is created.

    Parameters

    • id: string

      UserID to create the entry for

    • provider: Provider

      Provider being used to create this entry

    • roles: Role[]

      Array of roles that belong to the given user

    Returns Promise<void>

    Promise, containing nothing if valid. If invalid, error containing why.

Generated using TypeDoc