struct GitHub::OAuth::State
- GitHub::OAuth::State
- Struct
- Value
- Object
Overview
Protects against cross-site request forgery attacks.
Defined in:
github/oauth.crConstructors
Class Method Summary
Instance Method Summary
-
#get_access_token(code : String) : String
Returns an access token.
- #path : String
- #random : String
- #user_repository_subdomain : String
- #value : String
Constructor Detail
def self.new(user_repository_subdomain : String, path : String, random : String = Random::Secure.urlsafe_base64)
#