Skip to content

Releases: techfromsage/talis-php

Refactor Caching Mechanism

07 Mar 11:19
7e2af7c
Compare
Choose a tag to compare

This release is a breaking change where the majority of the $cacheTTL attributes on the exposed methods have been removed.

Modified methods:

  • OAuthClients::getOAuthClient removed third attribute ($cacheTTL)
  • OAuthClients::listScopes removed second attribute ($pubCertCacheTTL)
  • Users::getUserByGupid removed second attribute ($cacheTTL)
  • Users::getUserByGuids removed third attribute ($cacheTTL)

Correct typehint for `Tokens::listScopes`

20 Dec 16:00
6575497
Compare
Choose a tag to compare

Correct typehint for Tokens::listScopes: the typehint should say array rather than string, and the method signature should agree.

Fix Public Key Retrieval Cache

30 Nov 12:21
fed70ab
Compare
Choose a tag to compare

When retrieving the certificate used to verify the JWT tokens the cache/etag headers was used to revalidate the cached response. This meant that each request was calling Persona to retrieve the new cache/etag headers.

This change skips the revalidation of the cached response & only used the expiry time set within the cache.

Corrected composer version number

09 Nov 13:08
Compare
Choose a tag to compare

No functional changes, this release simply corrects the version number in the composer.json file and ensures it is consistent with the release tag.

Bump version number

09 Nov 12:35
Compare
Choose a tag to compare
0.1.1

fix version number

Improvement in code quality

09 Nov 12:34
Compare
Choose a tag to compare

Multiple linters have been introduced and which has caused some incompatibilities to occur:

  • Moved the follows methods from \Talis\Persona\Client\Tokens to \Talis\Persona\Client\Signing:
    • isPresignedUrlValid
    • presignUrl
  • ValidationResults enum values has been uppercased (InvalidSignature -> INVALID_SIGNATURE)

Fixes to invalid signature

19 Oct 11:24
Compare
Choose a tag to compare
0.0.3

bump version

List token scopes

19 Sep 10:44
9cc8031
Compare
Choose a tag to compare

Method added to provide the ability to list scopes on a JWT token.

Initial Release

12 Sep 13:23
Compare
Choose a tag to compare
0.0.1

Refactored test names