Click or drag to resize
KomfoSessionsAuthenticated Property
Creates the authenticated session builder.

Namespace: KomfoSharp
Assembly: KomfoSharp (in KomfoSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IAuthenticatedSessionBuilder Authenticated { get; }

Return Value

Type: IAuthenticatedSessionBuilder
The authenticated session builder.

Implements

IKomfoSessionsAuthenticated
Examples
using (var komfoSession = komfoSessions
  .Authenticated
  .Token(token)
  .Create())
{
  // create requests inside the session
}
using (var komfoSession = komfoSessions
  .Authenticated
  .Token(token)
  .WithTokenRenewal().ClientId("<your_client_id>").ClientSecret("<your_client_secret>").Scopes(TokenScopes.TwitterFollowers | TokenScopes.Advertising)
  .Create())
{
  // create requests inside the session
}
See Also