All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pusher.client.Authorizer.html Maven / Gradle / Ivy

There is a newer version: 2.4.4
Show newest version





Authorizer (Pusher Java Websocket API)












com.pusher.client

Interface Authorizer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String authorize(java.lang.String channelName, java.lang.String socketId)
      Called when a channel is to be authenticated.
    • Method Detail

      • authorize

        java.lang.String authorize(java.lang.String channelName,
                                   java.lang.String socketId)
                            throws AuthorizationFailureException
        Called when a channel is to be authenticated.
        Parameters:
        channelName - The name of the channel to be authenticated.
        socketId - A unique socket connection ID to be used with the authentication. This uniquely identifies the connection that the subscription is being authenticated for.
        Returns:
        An authentication token.
        Throws:
        AuthorizationFailureException - if the authentication fails.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy