Skip to content

Commit f476e0a

Browse files
authored
Merge pull request #99 from bookernath/0.22.1
Add class method for JWT payload and release 0.22.1
2 parents fd969b2 + 3f22f1d commit f476e0a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bigcommerce/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ def oauth_fetch_token(self, client_secret, code, context, scope, redirect_uri):
2727
def oauth_verify_payload(cls, signed_payload, client_secret):
2828
return connection.OAuthConnection.verify_payload(signed_payload, client_secret)
2929

30+
@classmethod
31+
def oauth_verify_payload_jwt(cls, signed_payload, client_secret):
32+
return connection.OAuthConnection.verify_payload_jwt(signed_payload, client_secret)
33+
3034
def __getattr__(self, item):
3135
return ApiResourceWrapper(item, self)
3236

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read(fname):
77
return open(os.path.join(os.path.dirname(__file__), fname)).read()
88

99

10-
VERSION = '0.22.0'
10+
VERSION = '0.22.1'
1111

1212
setup(
1313
name='bigcommerce',

0 commit comments

Comments
 (0)