Skip to content

Minor Change to OAuth2ClientInterface

Choose a tag to compare

@weaverryan weaverryan released this 27 Mar 13:31

Hi friends!

This marks a new major release, but nothing significant has changed. The reason for the new major version is that the signature to OAuth2ClientInterface::getAccessToken() changed which is a backwards-compatibility break for any custom classes that implement this interface. Unless you've created a custom class that implements that interface, you will have no problems upgrading.

  • [BC BREAK]: Changed signature of OAuth2ClientInterface::getAccessToken()
    to include a array $options = [] argument - #230.

  • Added OAuth2Client::isStateless() protected method to ease overriding
    the redirect() method for custom situations - #234.

  • Dropped support for Symfony versions older than 4.4.

Cheers!