Package com.janeirodigital.sai.authentication
package com.janeirodigital.sai.authentication
Access to protected resources through supplied access tokens
-
ClassDescriptionGeneral representation of an AccessToken.Leverages the OkHttp Authenticator API to react to HTTP 401 Not Authorized responses that may arise as a result of an expired or invalid token.Interface implemented by different types of authorized sessions, typically different types of OAuth2/OIDC flows.Provides an interface for sai-java to lookup an
AuthorizedSession
based on an AccessToken or the session itself, which is necessary for applications that operate on behalf of multiple social agents.Assorted helper methods related to working with OAuth2 / OpenID Connect sessions, tokens, and authorization servers.Basic in-memory implementation ofAuthorizedSessionAccessor
when the consumer of sai-java doesn't provide their own implementation.Implementation ofAuthorizedSession
for a Client Credentials authorization flowBuilder forClientCredentialsSession
instances.General representation of a RefreshToken.General exception used to represent issues with authentication processingImplementation ofAuthorizedSession
for Solid-OIDC.Builder forSolidOidcSession
instances.Properties and classes of the Solid OIDC vocabularyProperties and classes of the Solid Terms vocabulary