Package org.gluu.oxauth.model.token
Class JwrService
java.lang.Object
org.gluu.oxauth.model.token.JwrService
- Version:
- April 10, 2020
- Author:
- Yuriy Zabrovarnyy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode
(JsonWebResponse jwr, Client client) Encode means encrypt for Jwe and sign for Jwt, means it's implementaiton specific but we want to abstract it.void
setSubjectIdentifier
(JsonWebResponse jwr, IAuthorizationGrant authorizationGrant) static com.google.common.base.Function
<JsonWebResponse, Void> wrapWithSidFunction
(com.google.common.base.Function<JsonWebResponse, Void> input, String outsideSid)
-
Constructor Details
-
JwrService
public JwrService()
-
-
Method Details
-
encode
Encode means encrypt for Jwe and sign for Jwt, means it's implementaiton specific but we want to abstract it.- Returns:
- encoded Jwr
- Throws:
Exception
-
createJwr
-
setSubjectIdentifier
-
wrapWithSidFunction
public static com.google.common.base.Function<JsonWebResponse,Void> wrapWithSidFunction(com.google.common.base.Function<JsonWebResponse, Void> input, String outsideSid)
-