RTMP authentication from URL ?

If I want Authentication with stb . How can i design ?