class

Octokit::Error::OneTimePasswordRequired

Inherits Octokit::Error::ClientError < Octokit::Error < Exception < Reference < Object

Raised when GitHub returns a 401 HTTP status code and headers include "X-GitHub-OTP"

Constants

OTP_DELIVERY_PATTERN = /required; (\w+)/i

@private

Class methods

required_header(headers)

@private

Source

Instance methods

password_delivery

Delivery method for the user's OTP

@return [String]

Source