abstract class Google::Auth

Direct Known Subclasses

Defined in:

auth/auth.cr
auth/get_token.cr

Constant Summary

DEFAULT_USER_AGENT = "Google on Crystal"

Constructors

Instance Method Summary

Constructor Detail

def self.new(issuer : String, signing_key : String, scopes : String | Array(String), sub : String = "", user_agent : String = DEFAULT_USER_AGENT) #

[View source]

Instance Method Detail

abstract def client_email : String #

[View source]
abstract def get_token : Token #

[View source]
abstract def issuer : String #

[View source]
abstract def signing_key : String #

[View source]
def user_agent : String #

[View source]
def user_agent=(user_agent : String) #

[View source]