zyphr 0.1.47 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AuthSessionsApi.md +1 -1
- data/lib/zyphr/api/auth_sessions_api.rb +2 -2
- data/spec/api/auth_sessions_api_spec.rb +1 -1
- data/zyphr.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b5e4efe27496d1705a00bd68c41d08cd989868b1c6adcfd121020427d564cd3
|
|
4
|
+
data.tar.gz: 1609dd6b8ef90f34d467818f1a118c9e098b08f1eef3f9214998ca3b954fec5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7aa153c3b521e7655329023a0e94435384ebbeff2d50bcf1a45d21b19445b4e41e20219059f5317e522b9b7804053cddadad1ec1b7def398abb16e38e6d4482
|
|
7
|
+
data.tar.gz: 3775721a2b16919ebc96ea0e792eeadb40eb14c24b8380f6e8ada9eb3a2d0c29472bb4df0a109ea369e3a7189e03424438cb7ddb035b283993059ae1f485faa6
|
data/docs/AuthSessionsApi.md
CHANGED
|
@@ -87,7 +87,7 @@ This endpoint does not need any parameter.
|
|
|
87
87
|
|
|
88
88
|
Refresh access token
|
|
89
89
|
|
|
90
|
-
Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
90
|
+
Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
91
91
|
|
|
92
92
|
### Examples
|
|
93
93
|
|
|
@@ -77,7 +77,7 @@ module Zyphr
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# Refresh access token
|
|
80
|
-
# Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
80
|
+
# Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
81
81
|
# @param refresh_session_request [RefreshSessionRequest]
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
83
|
# @return [RefreshTokenResponse]
|
|
@@ -87,7 +87,7 @@ module Zyphr
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Refresh access token
|
|
90
|
-
# Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
90
|
+
# Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
91
91
|
# @param refresh_session_request [RefreshSessionRequest]
|
|
92
92
|
# @param [Hash] opts the optional parameters
|
|
93
93
|
# @return [Array<(RefreshTokenResponse, Integer, Hash)>] RefreshTokenResponse data, response status code and response headers
|
|
@@ -45,7 +45,7 @@ describe 'AuthSessionsApi' do
|
|
|
45
45
|
|
|
46
46
|
# unit tests for refresh_end_user_token
|
|
47
47
|
# Refresh access token
|
|
48
|
-
# Refresh access token using a refresh token. Accepts optional custom_claims to update JWT claims (if not provided,
|
|
48
|
+
# Refresh an end-user access token using a refresh token. Authenticated with the publishable application key (`X-Application-Key`) — no application secret is required, so client-side apps (browser / mobile) can refresh directly. The refresh token is the credential: it must be valid, unexpired, unrevoked, and issued for this application. Refresh tokens are single-use — each refresh returns a NEW refresh token and invalidates the one you presented, so persist the new token before the next refresh. Accepts optional custom_claims to update JWT claims (if not provided, current stored claims are preserved).
|
|
49
49
|
# @param refresh_session_request
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
51
|
# @return [RefreshTokenResponse]
|
data/zyphr.gemspec
CHANGED