casdoor / casdoor-python-sdk

Python client SDK for Casdoor
https://pypi.org/project/casdoor
Apache License 2.0
32 stars 33 forks source link

feat: add refresh_oauth_token() API #32

Closed Verdgil closed 1 year ago

Verdgil commented 1 year ago

request for access_token is exported to new method

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte please review

Verdgil commented 1 year ago

@hsluoyz i fixed all comments

hsluoyz commented 1 year ago

@Verdgil if you are adding new API, add it to casdoor-go-sdk first

Verdgil commented 1 year ago

@Verdgil if you are adding new API, add it to casdoor-go-sdk first

I cann't append it to Go sdk, because i don't know go that much

But in go sdk, as i see, yours has refresh token api

hsluoyz commented 1 year ago

@Verdgil see: https://github.com/casdoor/casdoor-python-sdk/pull/32#discussion_r1041734446

Verdgil commented 1 year ago

@hsluoyz I did it

hsluoyz commented 1 year ago

@Verdgil also add this new API to README.md

image

Verdgil commented 1 year ago

@Verdgil also add this new API to README.md

image

изображение

I appended this, your whant docs in another place?

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: