class Auth

Defined in:

secrets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(app : String) #

[View source]

Instance Method Detail

def beeminder #

[View source]
def ensure_google_token #

[View source]
def google #

[View source]
def google_oauth2_session : OAuth2::Session #

[View source]
def persist_token(session) #

[View source]
def secrets_file : Path #

[View source]
def to_toml_string(secrets = @secrets) #

[View source]
def write_token(token) #

[View source]