member_webapp/src/packages/member/store/totp/totp.state.ts

18 lines
316 B
TypeScript
Raw Normal View History

2018-04-06 11:02:18 +00:00
import { RESTClientError } from '@loafer/ng-rest/protocol';
export interface State {
2018-04-19 13:29:06 +00:00
totp: any;
2018-04-06 11:02:18 +00:00
secretKey: string;
keyURI: string;
error: RESTClientError | null;
pending: boolean;
}
export const initialState: State = {
2018-04-19 13:29:06 +00:00
totp: null,
2018-04-06 11:02:18 +00:00
secretKey: null,
keyURI: null,
error: null,
pending: false,
};