openid_client 0.4.8 openid_client: ^0.4.8 copied to clipboard
Library for working with OpenID Connect and implementing clients.
0.4.8 #
0.4.7 #
- FIX: update contentSecurityPolicy of keycloak server to allow silent refresh with iframe. (df9ef506)
- FIX: initial token persisted in browser Authenticator. (a4ac2c50)
- FIX: logout from Authenticator on web. (05343c8a)
- FIX: length of random string always 50. (850acc96)
- FIX: bug only first supported scope included in the auth request (pull request #63 from insertjokehere). (fd2f3b3e)
- FEAT: add optional prompt parameter to Flow and Authenticator constructors. (f0af92fc)
- FEAT: add
trySilentRefresh
method to browserAuthenticator
. (e74d8e3f) - FEAT: add device parameter to implicit flow. (5a6bf046)
- FEAT: add support for password flow. (c89d11b1)
- FEAT: add scopes argument to Flow.authorizationCodeWithPKCE constructor (pull request #64 from insertjokehere). (bd37e6d9)
- FEAT: added possibility to hide or change message after redirect (pull request #66 from BetterBOy). (aafaab80)
- DOCS: add docs to Authenticators. (65f9b285)
- DOCS: fix logout button in browser_example. (70ffbebc)
- DOCS: add funding info. (e006d6de)
- DOCS: add example usage with keycloak server. (a2939419)
Changelog #
0.4.6 #
- keep old refresh token when access token refreshed and no new refresh token received
0.4.5 #
- handle tokens without expiration
0.4.4 #
- added
onTokenChanged
stream toCredential
- added
Authenticator.fromFlow
constructor
0.4.3 #
- handle non successful http requests correctly, throwing either an
OpenIdException
when the response is in the openid error format or anHttpRequestException
otherwise
0.4.2 #
client
inFlow
,issuer
andclientId
inClient
andclient
inCredential
are now non-nullable
0.4.1 #
- Bugfixes
0.4.0 #
- Null safety
0.3.1 #
- Fix not using Client's httpClient for getTokenResponse
0.3.0 #
- Add http.Client arguments
- Breaking change:
clientSecret
is now a named argument inClient
constructor - Add optional
forceRefresh
argument togetTokenResponse
- Add
fromJson
andtoJson
toCredential
- Add
revoke
method toCredential
- Add
generateLogoutUrl
method toCredential
0.2.5 #
- Add jwtBearer flow for grant_type
urn:ietf:params:oauth:grant-type:jwt-bearer
- Added
getTokenResponse
method - Added
createHttpClient
method
0.2.4 #
- Allow only signing algorithms specified in
id_token_signing_alg_values_supported
parameter of issuer metadata
0.2.1 #
- Fix Authorization Code PKCE flow
0.2.0 #
- Dart 2/flutter compatibility
0.1.0 #
- Initial version