module Octokit::Authentication

Overview

Authentication methods for Octokit::Client

Direct including types

Defined in:

octokit/authentication.cr

Instance Method Summary

Instance Method Detail

def application_authenticated? #

Indicates if the client has OAuth Application client_id and secret credentials to make anonymous requests at a higher rate limit

See Also:


[View source]
def basic_authenticated? #

Indicates if the client was supplied Basic Auth username and password

See Also:


[View source]
def bearer_authenticated? #

Indicates if the client was supplied a bearer token

See Also:


[View source]
def token_authenticated? #

Indicates if the client was supplied an OAuth access token

See Also:


[View source]
def user_authenticated? #

Indicates if the client was supplied an OAuth access token or Basic Auth username and password

See Also:


[View source]