You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the type parameter is not passed in the call. I looked at the code and the invalidate callback appears to only apply to publisher connections, not subscriber connections.
I believe it will be a doc update. invalidate is used to destroy the token which is obtained through /login call to the remote server. Since the token is not issued based on type, the invalidate call too does not need the type parameter.
The docs for the RoundTripAuthenticationValidator state that the "type" is passed in the invalidate endpoint call:
https://github.com/red5pro/red5pro-simple-auth-plugin/blob/master/red5proroundtripauthvalidator.md#invalidate-credentials
However, the type parameter is not passed in the call. I looked at the code and the invalidate callback appears to only apply to publisher connections, not subscriber connections.
red5pro-simple-auth-plugin/src/main/java/com/red5pro/server/plugin/simpleauth/datasource/impl/roundtrip/RoundTripAuthValidator.java
Line 565 in aa09893
Not sure if just the docs need to be corrected, or if the functionality in the invalidate is missing the type parameter in the invalidate callback.
The text was updated successfully, but these errors were encountered: