public class Mfa
extends Base
The schema that defines the MFA resource is described below.
<xs:element name="MfaConfiguration">
<xs:complexType>
<xs:sequence>
<xs:element name="MfaEnabled" type="xs:boolean"/>
<xs:element name="MfaMethod" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Constructor and Description |
---|
Mfa() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
delTotpKey(javax.servlet.http.HttpServletRequest request,
java.lang.String mfaType,
java.lang.String name)
DELETE /rest/Mfa/{mfaType}/{name}
|
MfaConfiguration |
getMfaConfiguration(javax.servlet.http.HttpServletRequest request)
GET /rest/Mfa
|
BooleanScalarType |
getTotpEnabled(javax.servlet.http.HttpServletRequest request,
java.lang.String mfaType)
GET /rest/Mfa/{mfaType}
|
BooleanScalarType |
setTotpEnabled(javax.servlet.http.HttpServletRequest request,
java.lang.String mfaType,
BooleanScalarType enabled)
POST /rest/Mfa/{mfaType}
|
public MfaConfiguration getMfaConfiguration(@Context javax.servlet.http.HttpServletRequest request)
Get the MFA state and method used on the system. This API can be called without authentication to allow clients to select the appropriate API for authentication. Currently the only supported mfaType is "totp".
Response Entity type: <xs:element name="MfaConfiguration">
public BooleanScalarType getTotpEnabled(@Context javax.servlet.http.HttpServletRequest request, java.lang.String mfaType)
Get the MFA method state information on the system. Currently the only supported mfaType is "totp".
Response Entity type: <xs:element name="BooleanScalar">
public BooleanScalarType setTotpEnabled(@Context javax.servlet.http.HttpServletRequest request, java.lang.String mfaType, BooleanScalarType enabled)
Set the MFA method state on the system. Currently the only supported
mfaType is "totp".
Request Entity type: <xs:element name="BooleanScalarType">
Response Entity type: <xs:element name="BooleanScalarType">
public javax.ws.rs.core.Response delTotpKey(@Context javax.servlet.http.HttpServletRequest request, java.lang.String mfaType, java.lang.String name) throws DaoNoSuchNameException
Delete the user specific resource for MFA. Currently the only supported mfaType is "totp". This API will delete the TOTP shared key.
DaoNoSuchNameException
Copyright © 2011-2024 Quantum Corporation. All Rights Reserved.