Push Responder
This singleton is an utility used to reply to Push Notifications received from OpenAM.
Properties
Functions
Link copied to clipboard
open fun authentication(@NonNull pushNotification: PushNotification, approved: Boolean, @NonNull listener: FRAListener<Void>)
Used to respond an authentication request from a given message
Link copied to clipboard
open fun authenticationWithChallenge(@NonNull pushNotification: PushNotification, @NonNull challengeResponse: String, @NonNull listener: FRAListener<Void>)
Used to respond an authentication request from a given message
Link copied to clipboard
Link copied to clipboard
Used to generate a challenge response using the shared secret
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return the PushResponder instance
Initialize/Return the PushResponder instance
Link copied to clipboard
The `OkHttpClient` instance used to make the HTTP calls
Link copied to clipboard
private open fun performAuthentication(@NonNull pushNotification: PushNotification, approved: Boolean, payload: Map<String, Any>, @NonNull listener: FRAListener<Void>)
Used to respond an authentication request from a given message
Link copied to clipboard
open fun registration(endpoint: String, amlbCookie: String, base64Secret: String, messageId: String, payload: Map<String, Any>, listener: FRAListener<Void>)
Used to respond to a Push registration for a given endpoint