RefreshTokenKey generates and sets a new random auth record "tokenKey".
()
| 44 | |
| 45 | // RefreshTokenKey generates and sets a new random auth record "tokenKey". |
| 46 | func (m *Record) RefreshTokenKey() { |
| 47 | m.Set(FieldNameTokenKey+autogenerateModifier, "") |
| 48 | } |
| 49 | |
| 50 | // SetPassword sets the "password" record field value (usually available with Auth collections). |
| 51 | func (m *Record) SetPassword(password string) { |