class FlickRaw::Flickr::Auth

Public Instance Methods

checkToken(:auth_token => 'auth_token') click to toggle source

flickr.auth.checkToken request.

Returns the credentials attached to an authentication token. This call must be signed, and is deprecated in favour of OAuth.

Arguments

auth_token (required)

The authentication token to check.

Error codes

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

976598454353455read
# Generated automatically from flickr api
  def checkToken(*args)
    @flickr.call 'flickr.auth.checkToken', *args
  end
getFrob() click to toggle source

flickr.auth.getFrob request.

Returns a frob to be used during authentication. This method call must be signed, and is deprecated in favour of OAuth.

Arguments

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

746563215463214621
# Generated automatically from flickr api
  def getFrob(*args)
    @flickr.call 'flickr.auth.getFrob', *args
  end
getFullToken(:mini_token => 'mini_token') click to toggle source

flickr.auth.getFullToken request.

Get the full authentication token for a mini-token. This method call must be signed, and is deprecated in favour of OAuth.

Arguments

mini_token (required)

The mini-token typed in by a user. It should be 9 digits long. It may optionally contain dashes.

Error codes

  • 1: Mini-token not found

    The passed mini-token was not valid.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

976598454353455write
# Generated automatically from flickr api
  def getFullToken(*args)
    @flickr.call 'flickr.auth.getFullToken', *args
  end
getToken(:frob => 'frob') click to toggle source

flickr.auth.getToken request.

Returns the auth token for the given frob, if one has been attached. This method call must be signed, and is deprecated in favour of OAuth.

Arguments

frob (required)

The frob to check.

Error codes

  • 108: Invalid frob

    The specified frob does not exist or has already been used.

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 100: Invalid API Key

    The API key passed was not valid or has expired.

  • 105: Service currently unavailable

    The requested service is temporarily unavailable.

  • 106: Write operation failed

    The requested operation failed due to a temporary issue.

  • 111: Format “xxx” not found

    The requested response format was not found.

  • 112: Method “xxx” not found

    The requested method was not found.

  • 114: Invalid SOAP envelope

    The SOAP envelope send in the request could not be parsed.

  • 115: Invalid XML-RPC Method Call

    The XML-RPC request document could not be parsed.

  • 116: Bad URL found

    One or more arguments contained a URL that has been used for abuse on Flickr.

Returns

976598454353455write
# Generated automatically from flickr api
  def getToken(*args)
    @flickr.call 'flickr.auth.getToken', *args
  end
oauth()

Returns a Oauth object.