Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: temporary authorization code for batch operations #355

Closed
wants to merge 1 commit into from

Conversation

purplesmoke05
Copy link
Member

@purplesmoke05 purplesmoke05 commented Jul 15, 2022

draft

Close

#354

Changes

New API

# POST: /accounts/{issuer_address}/temporary_access_token
# GET: /accounts/{issuer_address}/temporary_access_token
# DELETE: /accounts/{issuer_address}/temporary_access_token/{temporary_access_token}

Behavior Changed API

# POST: /bond/transfers
# POST: /bond/tokens/{token_address}/personal_info
# POST: /share/transfers
# POST: /share/tokens/{token_address}/personal_info

New Table

  • temporary_access_token

Others

I am wondering how to implement the following

1. Scope

Is it better that request with given temporary token is restricted accessible resource.

2. Token Format

Variable name(including table name) is not yet determined. Token length/ format is same.
As for formatting, I'm going to follow the general method.

@purplesmoke05
Copy link
Member Author

#354 is implemented in #356. This PR is not required

@purplesmoke05 purplesmoke05 deleted the feature/#354 branch July 19, 2022 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant