Uses of Interface
com.inrupt.client.auth.Session
Package
Description
Application interfaces for the Inrupt Java Client Libraries.
Classes for working with Access Grants.
Authentication and Authorization classes for the Inrupt Java Client Libraries.
OpenID support for the Inrupt Java Client Libraries.
Integration tooling for Quarkus applications.
Support for Solid specific concepts for the Inrupt Java Client Libraries.
Integration tooling for Spring applications.
-
Uses of Session in com.inrupt.client
-
Uses of Session in com.inrupt.client.accessgrant
Modifier and TypeClassDescriptionfinal class
A session implementation that makes use of Access Grants.Modifier and TypeMethodDescriptionstatic AccessGrantSession
AccessGrantSession.ofAccessGrant
(Session session, AccessGrant... accessGrants) Create a session with a collection of known access grants.static AccessGrantSession
AccessGrantSession.ofAccessGrant
(Session session, ClientCache<URI, Credential> cache, AccessGrant... accessGrants) Create a session with a collection of known access grants.Scope an access grant client to a particular session. -
Uses of Session in com.inrupt.client.auth
Modifier and TypeMethodDescriptionstatic Session
Session.anonymous()
Create a new anonymous session.Modifier and TypeMethodDescriptionAuthenticator.authenticate
(Session session, Request request, Set<String> algorithms) Perform an ansynchronous authentication process, resulting in an access token.ReactiveAuthorization.negotiate
(Session session, Request request, Collection<Challenge> challenges) Negotiate for an authorization credential. -
Uses of Session in com.inrupt.client.openid
Modifier and TypeClassDescriptionfinal class
A session implementation for use with OpenID Connect ID Tokens.Modifier and TypeMethodDescriptionstatic Session
OpenIdSession.ofClientCredentials
(OpenIdProvider provider, String clientId, String clientSecret, String authMethod, OpenIdConfig config) Create a session using OAuth2 client credentials.static Session
OpenIdSession.ofClientCredentials
(URI issuer, String clientId, String clientSecret, String authMethod) Create a session using OAuth2 client credentials.static Session
Create a session from an ID token, using the default validation rules.static Session
OpenIdSession.ofIdToken
(String idToken, OpenIdConfig config) Create a session from an ID token, using a specific validation configuration.Modifier and TypeMethodDescriptionOpenIdAuthenticationProvider.OpenIdAuthenticator.authenticate
(Session session, Request request, Set<String> algorithms) -
Uses of Session in com.inrupt.client.quarkus
Modifier and TypeMethodDescriptionSessionUtils.asSession
(JsonWebToken jwt) Convert a Quarkus (Microprofile)JsonWebToken
to aSession
object.SessionUtils.asSession
(JsonWebToken jwt, Function<String, Session> mapping) Convert a Quarkus (Microprofile)JsonWebToken
to aSession
object.Modifier and TypeMethodDescriptionSessionUtils.asSession
(JsonWebToken jwt, Function<String, Session> mapping) Convert a Quarkus (Microprofile)JsonWebToken
to aSession
object. -
Uses of Session in com.inrupt.client.solid
Modifier and TypeMethodDescriptionCreate a session-scoped client.Create a session-scoped client. -
Uses of Session in com.inrupt.client.spring
Modifier and TypeMethodDescriptionSessionUtils.asSession
(OAuth2User user) Convert a SpringOAuth2User
to aSession
object.SessionUtils.asSession
(OAuth2User user, Function<String, Session> mapping) Convert a SpringOAuth2User
to aSession
object.Modifier and TypeMethodDescriptionSessionUtils.asSession
(OAuth2User user, Function<String, Session> mapping) Convert a SpringOAuth2User
to aSession
object.