blob: bc9c58b7c06fe7eb6bef2d15640e42dda38112c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef __AUTH_H
#define __AUTH_H
#include <stdbool.h>
bool is_logged_in();
const char* get_access_token();
const char* get_instance_url();
int read_local_credentials();
int register_app(const char *instance, void (*callback) (bool success));
int login(const char *email, const char *password, void (*callback) (bool success));
#endif
|