This is the changelog for Authress SDK.
ApiBasePath
has been renamed toAuthressApiUrl
.HttpClientSettings
Has been removed in favor ofAuthressSettings
Class.- [Breaking]
UserPermissions.GetUserResources()
no longer returns the propertyAccessToAllSubResources
. When a user only has access to parent resources, the list will always be empty unless theCollectionConfigurationEnum
property is specified. - [Breaking] Renamed
AccessRecordStatements
and other models that end withS
but aren't actually plural to beAccessRecordStatement
(without theS
).
- Fix
DateTimeOffset
type assignments, properties that were incorrectly defined asDateTime
are now correctlyDateTimeOffsets
. - Add in
VerifyToken()
method toAuthressClient
.. - Fix
Invite
Statement usage to use dedicated InviteStatement.
- Support exponential back-off retries on unexpected failures.
- Add optimized caching for authorization checks
- Add support for If-Unmodified-Since in group and access record apis.
- Upgrade to using dotnet 6.0 support.
- Added
CollectionConfigurationEnum
for the GET User Resources endpoint. - Automatically inject in the authress custom domain to the token providers.
- Upgrade to using core 3.1.
- Added
AccessRequests
andInvites
methods toRecordsApi
interface.
- The
GetUserResources
api now provides apermission
argument to filter returned results based on this permission. There are two changes to the is method. When a user has access to all sub-resourcesResources
will benull
andAccessToAllSubResources
will betrue
. When a user does not have access to all sub-resourcesResources
will contain the list of sub-resources they do have that permission to. The API no longer returns an single element[CollectionResourceUri]
in the case where the user has access to all sub-resources. To prevent unexpected side-effects in services,Resources
will be null so an error will be generated. - Added
AccessRecordGroups
toAccessRecords
- Added Invites endpoints