Package com.corundumstudio.socketio
Class AuthorizationResult
java.lang.Object
com.corundumstudio.socketio.AuthorizationResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthorizationResultstatic final AuthorizationResult -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationResult(boolean isAuthorized) AuthorizationResult(boolean isAuthorized, Map<String, Object> storeParams) -
Method Summary
-
Field Details
-
SUCCESSFUL_AUTHORIZATION
-
FAILED_AUTHORIZATION
-
-
Constructor Details
-
AuthorizationResult
public AuthorizationResult(boolean isAuthorized) -
AuthorizationResult
-
-
Method Details
-
isAuthorized
public boolean isAuthorized()- Returns:
- true if a client is authorized, otherwise - false
-
getStoreParams
- Returns:
- key-value pairs (unmodifiable) that will be added to
SocketIOClientstore. If a client is not authorized, storeParams will always be ignored (empty map)
-