AddAuthRecord creates a new authentication record for the given user.
(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, expires time.Time)
| 352 | |
| 353 | // AddAuthRecord creates a new authentication record for the given user. |
| 354 | func (usersMapper) AddAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, |
| 355 | expires time.Time) error { |
| 356 | |
| 357 | return adp.AuthAddRecord(uid, scheme, scheme+":"+unique, authLvl, secret, expires) |
| 358 | } |
| 359 | |
| 360 | // UpdateAuthRecord updates authentication record with a new secret and expiration time. |
| 361 | func (usersMapper) UpdateAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, |
nothing calls this directly
no test coverage detected