class Citrix::Training::Credentials

Attributes

account_key[RW]

Set the account key.

oauth_token[RW]

Set the OAuth token. You can use the [Omniauth::Citrix](github.com/fnando/omniauth-citrix) for OAuth2 authentication on Rack-based applications.

organizer_key[RW]

Set the organizer key.

Public Class Methods

build(credentials) click to toggle source

Initialize a `Citrix::Training::Credentials` instance.

# File lib/citrix/training/credentials.rb, line 18
def self.build(credentials)
  if credentials.kind_of?(self)
    credentials
  else
    new(credentials)
  end
end