create_token#
- hyd.backend.token.service.create_token(*, user_id: ConstrainedIntValue, expires_on: datetime.datetime | None, scopes: list[str], is_login_token: bool, project_id: hyd.backend.util.models.ConstrainedIntValue | None, comment: str, db: Session) TokenEntry [source]#