openid_client 0.4.9 copy "openid_client: ^0.4.9" to clipboard
openid_client: ^0.4.9 copied to clipboard

Library for working with OpenID Connect and implementing clients.

0.4.9 #

  • REFACTOR: migrate from 'dart:html' to 'package:web'. (9fd34b02)
  • FEAT: client credentials flow. (86425c1d)

0.4.8 #

  • FIX: use proper authentication in revoke endpoint (issue #83). (09d49652)
  • FIX: Exception thrown before redirecting on web (#76). (7c803048)
  • FEAT: add support for additional parameters (pull request #101 from twklessor). (dee2e3b5)

0.4.7+1 #

  • REFACTOR: upgrade http dependency (pull request #94 from wstrange). (bb3fbac5)

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 browser Authenticator. (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 to Credential
  • 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 an HttpRequestException otherwise

0.4.2 #

  • client in Flow, issuer and clientId in Client and client in Credential 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 in Client constructor
  • Add optional forceRefresh argument to getTokenResponse
  • Add fromJson and toJson to Credential
  • Add revoke method to Credential
  • Add generateLogoutUrl method to Credential

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
94
likes
140
points
59.5k
downloads

Publisher

verified publisherappsup.be

Weekly Downloads

Library for working with OpenID Connect and implementing clients.

Repository (GitHub)

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

args, clock, http, jose, logging, meta, pointycastle, web

More

Packages that depend on openid_client