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
AuthorizedSessionbased 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 ofAuthorizedSessionAccessorwhen the consumer of sai-java doesn't provide their own implementation.Implementation ofAuthorizedSessionfor a Client Credentials authorization flowBuilder forClientCredentialsSessioninstances.General representation of a RefreshToken.General exception used to represent issues with authentication processingImplementation ofAuthorizedSessionfor Solid-OIDC.Builder forSolidOidcSessioninstances.Properties and classes of the Solid OIDC vocabularyProperties and classes of the Solid Terms vocabulary