mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 01:52:22 +00:00
Checkpoint 2
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import { getAuthToken, setAuthToken } from '@app/reactQuery';
|
||||
import { getAuthToken, setAuthToken , setMfaTempToken } from '@app/reactQuery';
|
||||
|
||||
// depreciated: go for apiRequest module in config/api
|
||||
export default class SecurityClient {
|
||||
static setMfaToken(tokenStr: string) {
|
||||
setMfaTempToken(tokenStr);
|
||||
}
|
||||
|
||||
static setToken(tokenStr: string) {
|
||||
setAuthToken(tokenStr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user