POST {version}/GetTwoFactorSettings
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
TwoFactorConfigName | Description | Type | Additional information |
---|---|---|---|
UserAgent | string |
None. |
|
RemoteAddr | string |
None. |
|
RemoteHost | string |
None. |
|
DatabaseGuids | Collection of string |
None. |
|
OperatorGuids | Collection of string |
None. |
|
DatabasesThatRequireTwoFactorAuth | Collection of string |
None. |
|
UsersWithVerifiedTwoFactorContactInfo | Collection of TwoFactorUser |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserAgent": "sample string 1", "RemoteAddr": "sample string 2", "RemoteHost": "sample string 3", "DatabaseGuids": [ "sample string 1", "sample string 2" ], "OperatorGuids": [ "sample string 1", "sample string 2" ], "DatabasesThatRequireTwoFactorAuth": [ "sample string 1", "sample string 2" ], "UsersWithVerifiedTwoFactorContactInfo": [ { "UserGuid": "5ec57e23-3f0d-4827-b334-d8eb3983f76e", "Phone": "sample string 1", "EmailLoginId": "sample string 2", "OperatorGuid": "3ac2ab72-3ac6-4671-aeb7-52bcce2f8c80", "RememberMeFor30Days": true, "DatabaseGuid": "4fdc3118-77f5-458d-95bd-3bcf66031cf2", "SendViaPhone": true, "UserSuppliedAuthCode": "sample string 5", "UserAgent": "sample string 6", "RemoteAddr": "sample string 7", "RemoteHost": "sample string 8", "IgnoreTwoFactor": true }, { "UserGuid": "5ec57e23-3f0d-4827-b334-d8eb3983f76e", "Phone": "sample string 1", "EmailLoginId": "sample string 2", "OperatorGuid": "3ac2ab72-3ac6-4671-aeb7-52bcce2f8c80", "RememberMeFor30Days": true, "DatabaseGuid": "4fdc3118-77f5-458d-95bd-3bcf66031cf2", "SendViaPhone": true, "UserSuppliedAuthCode": "sample string 5", "UserAgent": "sample string 6", "RemoteAddr": "sample string 7", "RemoteHost": "sample string 8", "IgnoreTwoFactor": true } ] }
application/xml, text/xml
Sample:
<TwoFactorConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model.Security"> <DatabaseGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DatabaseGuids> <DatabasesThatRequireTwoFactorAuth xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DatabasesThatRequireTwoFactorAuth> <OperatorGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OperatorGuids> <RemoteAddr>sample string 2</RemoteAddr> <RemoteHost>sample string 3</RemoteHost> <UserAgent>sample string 1</UserAgent> <UsersWithVerifiedTwoFactorContactInfo> <TwoFactorUser> <DatabaseGuid>4fdc3118-77f5-458d-95bd-3bcf66031cf2</DatabaseGuid> <EmailLoginId>sample string 2</EmailLoginId> <IgnoreTwoFactor>true</IgnoreTwoFactor> <OperatorGuid>3ac2ab72-3ac6-4671-aeb7-52bcce2f8c80</OperatorGuid> <Phone>sample string 1</Phone> <RememberMeFor30Days>true</RememberMeFor30Days> <RemoteAddr>sample string 7</RemoteAddr> <RemoteHost>sample string 8</RemoteHost> <SendViaPhone>true</SendViaPhone> <UserAgent>sample string 6</UserAgent> <UserGuid>5ec57e23-3f0d-4827-b334-d8eb3983f76e</UserGuid> <UserSuppliedAuthCode>sample string 5</UserSuppliedAuthCode> </TwoFactorUser> <TwoFactorUser> <DatabaseGuid>4fdc3118-77f5-458d-95bd-3bcf66031cf2</DatabaseGuid> <EmailLoginId>sample string 2</EmailLoginId> <IgnoreTwoFactor>true</IgnoreTwoFactor> <OperatorGuid>3ac2ab72-3ac6-4671-aeb7-52bcce2f8c80</OperatorGuid> <Phone>sample string 1</Phone> <RememberMeFor30Days>true</RememberMeFor30Days> <RemoteAddr>sample string 7</RemoteAddr> <RemoteHost>sample string 8</RemoteHost> <SendViaPhone>true</SendViaPhone> <UserAgent>sample string 6</UserAgent> <UserGuid>5ec57e23-3f0d-4827-b334-d8eb3983f76e</UserGuid> <UserSuppliedAuthCode>sample string 5</UserSuppliedAuthCode> </TwoFactorUser> </UsersWithVerifiedTwoFactorContactInfo> </TwoFactorConfig>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TwoFactorConfigName | Description | Type | Additional information |
---|---|---|---|
UserAgent | string |
None. |
|
RemoteAddr | string |
None. |
|
RemoteHost | string |
None. |
|
DatabaseGuids | Collection of string |
None. |
|
OperatorGuids | Collection of string |
None. |
|
DatabasesThatRequireTwoFactorAuth | Collection of string |
None. |
|
UsersWithVerifiedTwoFactorContactInfo | Collection of TwoFactorUser |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserAgent": "sample string 1", "RemoteAddr": "sample string 2", "RemoteHost": "sample string 3", "DatabaseGuids": [ "sample string 1", "sample string 2" ], "OperatorGuids": [ "sample string 1", "sample string 2" ], "DatabasesThatRequireTwoFactorAuth": [ "sample string 1", "sample string 2" ], "UsersWithVerifiedTwoFactorContactInfo": [ { "UserGuid": "ced55fbf-0ae2-4fcc-9b1c-1794c5267329", "Phone": "sample string 1", "EmailLoginId": "sample string 2", "OperatorGuid": "935fe69a-ac95-4fcc-b102-bbb86740a722", "RememberMeFor30Days": true, "DatabaseGuid": "69b779a1-be14-40a2-8fa6-5ead7c5b48bc", "SendViaPhone": true, "UserSuppliedAuthCode": "sample string 5", "UserAgent": "sample string 6", "RemoteAddr": "sample string 7", "RemoteHost": "sample string 8", "IgnoreTwoFactor": true }, { "UserGuid": "ced55fbf-0ae2-4fcc-9b1c-1794c5267329", "Phone": "sample string 1", "EmailLoginId": "sample string 2", "OperatorGuid": "935fe69a-ac95-4fcc-b102-bbb86740a722", "RememberMeFor30Days": true, "DatabaseGuid": "69b779a1-be14-40a2-8fa6-5ead7c5b48bc", "SendViaPhone": true, "UserSuppliedAuthCode": "sample string 5", "UserAgent": "sample string 6", "RemoteAddr": "sample string 7", "RemoteHost": "sample string 8", "IgnoreTwoFactor": true } ] }
application/xml, text/xml
Sample:
<TwoFactorConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model.Security"> <DatabaseGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DatabaseGuids> <DatabasesThatRequireTwoFactorAuth xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DatabasesThatRequireTwoFactorAuth> <OperatorGuids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </OperatorGuids> <RemoteAddr>sample string 2</RemoteAddr> <RemoteHost>sample string 3</RemoteHost> <UserAgent>sample string 1</UserAgent> <UsersWithVerifiedTwoFactorContactInfo> <TwoFactorUser> <DatabaseGuid>69b779a1-be14-40a2-8fa6-5ead7c5b48bc</DatabaseGuid> <EmailLoginId>sample string 2</EmailLoginId> <IgnoreTwoFactor>true</IgnoreTwoFactor> <OperatorGuid>935fe69a-ac95-4fcc-b102-bbb86740a722</OperatorGuid> <Phone>sample string 1</Phone> <RememberMeFor30Days>true</RememberMeFor30Days> <RemoteAddr>sample string 7</RemoteAddr> <RemoteHost>sample string 8</RemoteHost> <SendViaPhone>true</SendViaPhone> <UserAgent>sample string 6</UserAgent> <UserGuid>ced55fbf-0ae2-4fcc-9b1c-1794c5267329</UserGuid> <UserSuppliedAuthCode>sample string 5</UserSuppliedAuthCode> </TwoFactorUser> <TwoFactorUser> <DatabaseGuid>69b779a1-be14-40a2-8fa6-5ead7c5b48bc</DatabaseGuid> <EmailLoginId>sample string 2</EmailLoginId> <IgnoreTwoFactor>true</IgnoreTwoFactor> <OperatorGuid>935fe69a-ac95-4fcc-b102-bbb86740a722</OperatorGuid> <Phone>sample string 1</Phone> <RememberMeFor30Days>true</RememberMeFor30Days> <RemoteAddr>sample string 7</RemoteAddr> <RemoteHost>sample string 8</RemoteHost> <SendViaPhone>true</SendViaPhone> <UserAgent>sample string 6</UserAgent> <UserGuid>ced55fbf-0ae2-4fcc-9b1c-1794c5267329</UserGuid> <UserSuppliedAuthCode>sample string 5</UserSuppliedAuthCode> </TwoFactorUser> </UsersWithVerifiedTwoFactorContactInfo> </TwoFactorConfig>