All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.otp.OTPExchange Maven / Gradle / Ivy

There is a newer version: 4.0.5
Show newest version
/*
 * Copyright (c) 2020 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package io.imunity.otp;

import pl.edu.icm.unity.engine.api.authn.AuthenticationResult;
import pl.edu.icm.unity.engine.api.authn.AuthenticationSubject;
import pl.edu.icm.unity.engine.api.authn.CredentialExchange;

public interface OTPExchange extends CredentialExchange
{
	public static final String ID = "otp-exchange";
	
	public AuthenticationResult verifyCode(String code, AuthenticationSubject subject);
	
	public OTPCredentialReset getCredentialResetBackend();

	public int getCodeLength();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy