class Helpers::Auth::UserAuth

Included Modules

Defined in:

helpers/auth/user_auth.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : Nil | String, picture : Nil | String, email : String, email_verified : Bool, user_id : String, auth_time : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.bearer_token(headers) #

[View source]
def self.init(auth_payload) #

[View source]

Instance Method Detail

def auth_time : Int32 #

[View source]
def auth_time=(auth_time : Int32) #

[View source]
def authenticated? #

[View source]
def email : String #

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

[View source]
def email_verified : Bool #

[View source]
def email_verified=(email_verified : Bool) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def picture : String | Nil #

[View source]
def picture=(picture : String | Nil) #

[View source]
def user_id : String #

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

[View source]