Interface UserInfoCache

    • Method Detail

      • getUserInfo

        io.smallrye.mutiny.Uni<UserInfo> getUserInfo​(String token,
                                                     OidcTenantConfig oidcConfig,
                                                     OidcRequestContext<UserInfo> requestContext)
        Get the cached UserInfo.
        Parameters:
        token - the token which will be used to get new UserInfo if no UserInfo is cached. Effectively this token is a cache key which has to be stored when #addUserInfo(String, UserInfo, OidcTenantConfig, AddUserInfoRequestContext) is called.
        oidcConfig - the tenant configuration
        requestContext - the request context which can be used to run the blocking tasks