Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder setters #794

Merged
merged 25 commits into from
Aug 9, 2023
Merged

Builder setters #794

merged 25 commits into from
Aug 9, 2023

Commits on Aug 5, 2023

  1. Configuration menu
    Copy the full SHA
    84defef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdc601a View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. impl checkpoint of modern builder-style setters (without the 'set' pr…

    …efix)
    
    - Renamed Keys.forPassword to slightly cleaner/less verbose Keys.password
    - Ensured ClaimsMutator extends MapMutator
    - Ensured JwtBuilder verifyWith is overloaded and accepts only SecretKey and PublicKey instances
    - Ensured JwtBuilder decryptWith is overloaded and accepts only SecretKey and PrivateKey instances
    - Renamed JwtParserBuilder#enableUnsecuredJwts() to enableUnsecured() since any JWT or JWS without a header (or with an alg of none) are both considered 'unsecured', so the suffix was removed to avoid confusion.
    lhazlewood committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    d2bea84 View commit details
    Browse the repository at this point in the history
  2. - Renamed MapMutator set methods to add methods to avoid Java set…

    …ter full replacement idiom confusion (as opposed to add/append)
    lhazlewood committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    6d61f86 View commit details
    Browse the repository at this point in the history
  3. - Removed MapMutator superinterface from ClaimsBuilder. Generic map m…

    …utation methods on the JwtBuilder are a little confusing.
    
    - Added JwtBuilder#claims() method that returns a Claims mutator with an and()  method to get back to the JwtBuilder
    lhazlewood committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    0de225d View commit details
    Browse the repository at this point in the history
  4. - Added a convenience JwtBuilder#claims(Map) method (modern builder-s…

    …tyle name)
    
    - Added a new JwtBuilder#encoder to eventually replace the now-deprecated JwtBuilder#base64UrlEncodeWith method
    - Added a new JwtBuilder#serializer to eventually replace the now-deprecated JwtBuilder#serializeToJsonWith method
    lhazlewood committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    8fbdc21 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. - Renamed JwtParserBuilder#base64UrlDecoder to just JwtParserBuilder#…

    …decoder
    
    - Renamed JwtParserBuilder#jsonDeserializer to just JwtParserBuilder#deserializer
    - Lots of README.md updates to reflect builder api name changes
    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a7b8e3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    982bc88 View commit details
    Browse the repository at this point in the history
  3. minor readability changes

    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    1296310 View commit details
    Browse the repository at this point in the history
  4. - Renamed KeyBuilderSupplier#keyBuilder() to less verbose KeyBuilderS…

    …upplier#key()
    
    - Renamed KeyPairBuilderSupplier#keyPairBuilder() to less verbose KeyPairBuilderSupplier#keyPair()
    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    b24e2f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd89e6f View commit details
    Browse the repository at this point in the history
  6. minor JavaDoc typo fix

    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a1fa013 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eefac56 View commit details
    Browse the repository at this point in the history
  8. - Renamed JwtBuilder.Header to JwtBuilder.BuilderHeader to avoid nami…

    …ng/import conflict with io.jsonwebtoken.Header
    
    - Renamed JwtBuilder.Claims to JwtBuilder.BuilderClaims to avoid naming/import conflict with io.jsonwebtoken.Claims
    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    0f8364d View commit details
    Browse the repository at this point in the history
  9. minor cleanup

    lhazlewood committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    104769e View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. doc/naming updates

    lhazlewood committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    367e730 View commit details
    Browse the repository at this point in the history
  2. doc/naming updates

    lhazlewood committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    4138b91 View commit details
    Browse the repository at this point in the history
  3. - removed DynamicJwkBuilder chain methods with array arguments

    - added generic DynamicJwkBuilder#keyPair(KeyPair) method
    - added generic DynamicJwkBuilder#chain method
    lhazlewood committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    083da95 View commit details
    Browse the repository at this point in the history
  4. doc/naming fixes

    lhazlewood committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    a06d403 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. doc enhancements

    lhazlewood committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    65ad196 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    596a406 View commit details
    Browse the repository at this point in the history
  3. Added license header

    lhazlewood committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    b597337 View commit details
    Browse the repository at this point in the history
  4. Reintroduced deprecated Header mutation methods for a slightly easier…

    … transition to 0.12.0, will remove in next release
    lhazlewood committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    761ed68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e7ad356 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    651f279 View commit details
    Browse the repository at this point in the history