class Office365::Token

Included Modules

Defined in:

models/token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(access_token : String, token_type : String, expires_in : Int32) #

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

[View source]

Instance Method Detail

def access_token : String #

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

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def current? #

[View source]
def expired? #

[View source]
def expires_in : Int32 #

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

[View source]
def token_type : String #

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

[View source]