
io.imunity.otp.OTPExchange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-otp Show documentation
Show all versions of unity-server-otp Show documentation
One-time-password credential
/*
* 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