def allow_event_stream(self, **kwargs):
scope = ScopeURI('<STR_LIT>', '<STR_LIT>', {'<STR_LIT:path>': '<STR_LIT>'})<EOL>if kwargs:<EOL><INDENT>scope.add_param('<STR_LIT>', urlencode(kwargs, doseq=True))<EOL><DEDENT>self.capabilities["<STR_LIT>"] = scope<EOL>
Allow the user of this token to access their event stream.