Subscribe to responses

Users can respond to authentication requests by accepting or rejecting them. On the other hand, you won’t receive asynchronous notifications for requests which have timed out.

You can subscribe to authentication responses with this snippet

@client.authentication.subscribe do |auth_res|
    puts resp.status
end
client.MessagingService().Subscribe("identities.authenticate.req", func(m *messaging.Message)) {
    // manage the response
}
client.messaging().subscribe("identities.authenticate.req", (res: any): any => {
    // manage the response
})