daniel_luftspring
01/12/2022, 8:07 PMOAuthAuthenticator
. If I have a client class with an authenticator
property instantiated as OAuthAuthenticator(stream=self)
should the stream methods not be accessible within the authenticator class? Specifically I want to be able to access the stream url_base property from within the authenticator object. Happy to provide more clarification or a link to a repo example if that's helpful. The use case is that I need to be able to dynamically set the oauth_endpoint
property using the stream url_base.edgar_ramirez_mondragon
01/12/2022, 8:26 PM__init__
constructor of OAuthAuthenticator has an optional auth_endpoint
argument, so you can pass a dynamically constructed URL from RESTStream.url_base
. Would that help your use case?daniel_luftspring
01/12/2022, 8:28 PMOAuthAuthenticator
because the API i'm accessing doesnt exactly follow the protocoldaniel_luftspring
01/12/2022, 8:31 PMedgar_ramirez_mondragon
01/12/2022, 9:03 PM