W3cubDocs

/Crystal 0.31

class OAuth::AccessToken

Defined in:

oauth/access_token.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_response(response : String) : selfSource

def self.new(token : String, secret : String, extra : Hash(String, String)? = nil)Source

def self.new(pull : JSON::PullParser)Source

Instance Method Detail

def authenticate(client, consumer_key, consumer_secret, extra_params = nil)Source

def extraSource

def secret : StringSource

def to_json(json : JSON::Builder)Source

def token : StringSource

© 2012–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/OAuth/AccessToken.html