AcroSuite Auther

חינם
על ידי Samurai | מְעוּדכָּן il y a 2 mois | Business
פּוֹפּוּלָרִיוּת

5.9 / 10

חֶבִיוֹן

302ms

רמת שירות

100%

Health Check

N/A

חזרה לכל ההדרכות (1)

Description and Examples for AcroSuite Auther

AcroSuite Auther may generate an one-time or multi-time authentication access with Email notice, and check their validity. Email notice may include Digital Signature or not.
About Digital Signature, you may make use of AcroSuite Cipher to generate Digital Signature and check its validity. Please refer to AcroSuite Cipher.
https://rapidapi.com/AcroChannel/api/acrosuite-cipher/

##1> Issue Authentication
Issue an one-time or multi-time authentication access with Email notice including AccessKey and Password. Access times and validate period are defined in advance. After calling the API, you may check its validity by Verify Authentication API.
https://acrosuite-auther.p.rapidapi.com/v0_1/CstService/tools/issue/access
http method: post

Request Header parameters:

Content-Type: application/json
x-rapidapi-host: acrosuite-auther.p.rapidapi.com
x-rapidapi-key: [your rapidapi-key]

Request JSON Example:

Without Digital Signature

{
    "accessKey": "ABCDEFGHJ",
    "startDT": "2021-10-26 00:00:00",
    "endDT": "2021-10-27 23:00:00",
    "useLimit": 3,
    "passLength": 16,
    "emailObj": {
          "mailSubject": "PasswordNotice",
          "mailBody": null,
          "contentType": "text/plain;charset=UTF-8",
          "toAddress": "xxxxxxxx@acrochannel.com",
          "ccAddress": "",
          "bccAddress": "",
          "fromAddress": "passtester@acrochannel.com",
          "asynFlag": false,
          "userSignature": null
    }
}

With Digital Signature

{
    "accessKey": "ABCDEFGHJ",
    "startDT": "2021-10-26 00:00:00",
    "endDT": "2021-10-27 23:00:00",
    "useLimit": 3,
    "passLength": 16,
    "emailObj": {
          "mailSubject": "PasswordNotice",
          "mailBody": null,
          "contentType": "text/plain;charset=UTF-8",
          "toAddress": "xxxxxx@acrochannel.com",
          "ccAddress": "",
          "bccAddress": "",
          "fromAddress": "passtester@acrochannel.com",
          "asynFlag": false,
          "userSignature": {
        "publicKey": "H4sIAAAAAAAAAFvzloG1uIhBJCuxLFGvODW5tCizpFLPO7UyKLVg70\\/\\/zR2zljozMbD4MHAm5qTnAyUzcksYhHxAyvVzEvPS9YNLijLz0q2jGdhT85LzU1JTShiYop18GNjS8otyE0sKGeoYGH0YWEoqC1JLGKQhGmH26EPsUQkBSlpXFJQwMAcFO5YWgQxY81n8BxtHyAMmBoaKAgYGhkUGjfMNeNk4tdo82r7zMjIysjIwN\\/YyGDR2MjU2Msz3sxRKaOhsP5p5s+Ji4gu+yqIo0\\/kTe0uNLgQF\\/i7Vqzm0I2jlyebP\\/0NvKn99EzXDL\\/\\/LORm7hBVyvz\\/HhLY5pPxqbPAzvBXJ1l5t+mDdG60rn3uKRdnO7vpw74fqHf4pdUvmiaVkxSzyL6hicftyPigoM3\\/tXIXXK2siWZmLkh75NS76zMTMyMBYwsAaoWdqYFlXxCCJLTjB3mSAAiGgv4oY+MDqQOGo55pXmossCQwNtoBQJx9PZwBxGcd+owEAAA==",
        "signature": "H4sIAAAAAAAAAAGbAGT/rO0ABXVyAAJbQqzzF/gGCFTgAgAAeHAAAACAiqej4/EUfQVpUZJDkocEmiANqvZvZQx46FYinEzZCFE11oxiCrtBkH4Ev3HG04yfuk59G9nnC+H0oyPGBTi8t5wN7niSlxt2yEa8cSC6nNB8irbB3ExbT5G9hid+os/UX7n5QRaigCaBvgJEXZui4tDV3K5GDsasfm8ENLvfmhcBXGfvmwAAAA==@@@@@@D7kMdSSqP9M3fc/7k+ALI7YoVVRAuC9S",
        "signDT": "2020-10-20 12:35:19.870",
        "signHash": "B499HFdh8Rjzup5biD3DmQ",
        "signName": "User1"
          }
    }
}

“accessKey”: a key for the one-time or multi-time authentication access.
“startDT”,“endDT”: define a validate period for the authentication access.
“useLimit”: define the access times’ limit. The example means that this access may be verified 3 times by “Verify Authentication” API.
“passLength”: define the length of Password.
“emailObj”: please refer to AcroSuite Mailer
https://rapidapi.com/AcroChannel/api/acrosuite-mailer/

Response JSON Example:

{
    "contents": {
        "accessKey": "ABCDEFGHJ",
        "emailObj": null,
        "endDT": "2021-10-27 23:00:00",
        "passLength": 16,
        "password": "ZOz=8Bfu^C%n*uUy",
        "startDT": "2021-10-26 00:00:00",
        "useLimit": 3
    },
    "errors": null,
    "memo": "The mail has been successfully sent!",
    "result": true
}

Email notice Example:

Without Digital Signature

AccessKey: ABCDEFGHJ
Password: ZOz=8Bfu^C%n*uUy
StartDateTime: 2021-10-26 00:00:00
EndDateTime: 2021-10-27 23:00:00
UseLimit: 3

With Digital Signature

H4sIAAAAAAAAAAGbAGT/rO0ABXVyAAJbQqzzF/gGCFTgAgAAeHAAAACAQ/CySD91nOCTcuLse6N7swdLU00U5lj2U5YLhh9fHtztocHVrojbIfTznLZnb7/4ua60f1bY93jYoqdE1F0iUpZdpVB72UAE509ncQmfUIIuL3c1QuguGTqtrE5FQFBylYcuov7bKN7HhOTGUnLvbvPprTI/5BonDPo1F4Kdz/j6R6yLmwAAAA==@@@@@@GmXJ6NHlayrvoXZAw45Hf5kph2oUdQ4BJGmAJqS1n3UeqAIjxolxO4yDXuaHb3ox/FrMOdEqzfG8BrAYgwWKBdRUs1SR5L4CT9r5zGtbydCbXZtgLjO5jLnnJsz01x1ZjmpbTr6FXu9ZbbOzAXt6l7uYWUfCdxKmqsPzh9xDuWwjQiliPsV+AZmX1Z3hZWga

This secret message may be decrypted by “emailObj”.“userSignature” sent in Request JSON.
About Encryption/Decryption and Digital signature, please refer to AcroSuite Cipher.
https://rapidapi.com/AcroChannel/api/acrosuite-cipher/

##2> Verify Authentication
Check the validity of an one-time or multi-time authentication access by AccessKey,Password,Access times and validate period.
https://acrosuite-auther.p.rapidapi.com/v0_1/CstService/tools/issue/auth
http method: post

Request Header parameters:

Content-Type: application/json
x-rapidapi-host: acrosuite-auther.p.rapidapi.com
x-rapidapi-key: [your rapidapi-key]

Request JSON Example:

{
    "accessKey": "ABCDEFGHJ",
    "password": "ZOz=8Bfu^C%n*uUy"
}

Response JSON Example:

-Successful case:

{
    "contents": {
        "code": "0000",
        "message": "AccessKey Auth is OK!",
        "subject": "checkIssueAuth"
    },
    "errors": null,
    "memo": "Congratulations on your success!",
    "result": true
}

-Failed case:

{
    "contents": null,
    "errors": [
        {
            "code": "408",
            "message": "Update error occurred!- Validate AccessKey+Password doesn't exist!",
            "type": "DatabaseError"
        }
    ],
    "memo": "Unfortunately, you failed!",
    "result": false
}