Lines Matching refs:otp
21 async otp () {},
596 t.test('from basic auth, asks for otp', async t => {
629 async otp (label) {
633 'should ask for otp confirmation'
666 t.test('from token and set otp, retries on pending and verifies with qrcode', async t => {
711 'should set tfa as otp code?'
730 async otp () {
744 config: { otp: '1234' },
757 t.test('from token and set otp, retrieves invalid otp', async t => {
779 async otp (label) {
787 config: { otp: '1234' },
801 t.test('from token auth provides --otp config arg', async t => {
818 async otp () {
819 throw new Error('should not ask for otp')
826 config: { otp: '123456' },
862 async otp () {
905 async otp () {
948 t.test('requests otp', async t => {
972 async otp (label) {
976 'should ask for otp confirmation'
1027 t.test('--otp config already set', async t => {
1052 async otp (label) {
1053 throw new Error('should not ask for otp')
1060 config: { otp: '123456' },