Class IdentityGatewayAdviceInterceptor<T>
- java.lang.Object
-
- org.forgerock.android.auth.interceptor.IdentityGatewayAdviceInterceptor<T>
-
- All Implemented Interfaces:
okhttp3.Interceptor
public abstract class IdentityGatewayAdviceInterceptor<T> extends java.lang.Object implements okhttp3.InterceptorReference Implementation of usingInterceptorto handle advice from ForgeRock Identity Gateway
-
-
Constructor Summary
Constructors Constructor Description IdentityGatewayAdviceInterceptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AdviceHandler<T>getAdviceHandler(PolicyAdvice advice)Get theAdviceHandlerto handle the advice request.okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)
-
-
-
Method Detail
-
intercept
@NonNull public okhttp3.Response intercept(@NotNull okhttp3.Interceptor.Chain chain) throws java.io.IOException- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
java.io.IOException
-
getAdviceHandler
public abstract AdviceHandler<T> getAdviceHandler(PolicyAdvice advice)
Get theAdviceHandlerto handle the advice request.- Parameters:
advice- The Advice- Returns:
- An
AdviceHandlerto handle the advice.
-
-