struct

GitHub::OAuth::State

Inherits Struct / Value / Object

Protects against cross-site request forgery attacks.

Constructors

new(user_repository_subdomain : String, path : String, random : String = Random::Secure.urlsafe_base64)
Source

Class methods

from_string(str : String)
Source

Instance methods

get_access_token(code : String) : String

Returns an access token.

Source
path
Source
random
Source
user_repository_subdomain
Source
value
Source