DynamoVisualProgramming.DynamoServices by Autodesk

<PackageReference Include="DynamoVisualProgramming.DynamoServices" Version="4.0.0-beta2054" />

 AuthServices

public static class AuthServices
Static class containing authentication service events. Useful if you want to make authenticated requests from your nodes.
using System; namespace DynamoServices { [Obsolete("This method is for evaluation purposes only and is subject to change or removal in future updates.")] public static class AuthServices { [Obsolete("This property is for evaluation purposes only and is subject to change or removal in future updates.")] public static object AuthProvider { get { RequestAuthProviderEventArgs requestAuthProviderEventArgs = new RequestAuthProviderEventArgs(); AuthServices.RequestAuthProvider?.Invoke(requestAuthProviderEventArgs); return requestAuthProviderEventArgs.AuthProvider; } } internal static event RequestAuthProviderEventHandler RequestAuthProvider; } }