syslog-ng source
oauth2-auth.h File Reference
#include "cloud-auth.h"
#include "compat/cpp-start.h"
#include "compat/cpp-end.h"
Include dependency graph for oauth2-auth.h:

Go to the source code of this file.

Enumerations

enum  OAuth2AuthMethod { OAUTH2_AUTH_METHOD_BASIC , OAUTH2_AUTH_METHOD_POST_BODY , OAUTH2_AUTH_METHOD_CUSTOM }
 

Functions

CloudAuthenticatoroauth2_authenticator_new (void)
 
void oauth2_authenticator_set_client_id (CloudAuthenticator *s, const gchar *client_id)
 
void oauth2_authenticator_set_client_secret (CloudAuthenticator *s, const gchar *client_secret)
 
void oauth2_authenticator_set_token_url (CloudAuthenticator *s, const gchar *token_url)
 
void oauth2_authenticator_set_scope (CloudAuthenticator *s, const gchar *scope)
 
void oauth2_authenticator_set_resource (CloudAuthenticator *s, const gchar *resource)
 
void oauth2_authenticator_set_authorization_details (CloudAuthenticator *s, const gchar *authorization_details)
 
void oauth2_authenticator_set_refresh_offset (CloudAuthenticator *s, guint64 refresh_offset_seconds)
 
void oauth2_authenticator_set_auth_method (CloudAuthenticator *s, OAuth2AuthMethod auth_method)
 

Enumeration Type Documentation

◆ OAuth2AuthMethod

Enumerator
OAUTH2_AUTH_METHOD_BASIC 
OAUTH2_AUTH_METHOD_POST_BODY 
OAUTH2_AUTH_METHOD_CUSTOM 

Function Documentation

◆ oauth2_authenticator_new()

CloudAuthenticator* oauth2_authenticator_new ( void  )

◆ oauth2_authenticator_set_auth_method()

void oauth2_authenticator_set_auth_method ( CloudAuthenticator s,
OAuth2AuthMethod  auth_method 
)

◆ oauth2_authenticator_set_authorization_details()

void oauth2_authenticator_set_authorization_details ( CloudAuthenticator s,
const gchar *  authorization_details 
)

◆ oauth2_authenticator_set_client_id()

void oauth2_authenticator_set_client_id ( CloudAuthenticator s,
const gchar *  client_id 
)

◆ oauth2_authenticator_set_client_secret()

void oauth2_authenticator_set_client_secret ( CloudAuthenticator s,
const gchar *  client_secret 
)

◆ oauth2_authenticator_set_refresh_offset()

void oauth2_authenticator_set_refresh_offset ( CloudAuthenticator s,
guint64  refresh_offset_seconds 
)

◆ oauth2_authenticator_set_resource()

void oauth2_authenticator_set_resource ( CloudAuthenticator s,
const gchar *  resource 
)

◆ oauth2_authenticator_set_scope()

void oauth2_authenticator_set_scope ( CloudAuthenticator s,
const gchar *  scope 
)

◆ oauth2_authenticator_set_token_url()

void oauth2_authenticator_set_token_url ( CloudAuthenticator s,
const gchar *  token_url 
)