Module: AppleAuth

Defined in:
lib/apple_auth/base.rb,
lib/apple_auth/token.rb,
lib/apple_auth/config.rb,
lib/apple_auth/base/version.rb,
lib/apple_auth/user_identity.rb,
lib/apple_auth/server_identity.rb,
lib/apple_auth/helpers/jwt_decoder.rb,
lib/apple_auth/helpers/jwt_conditions.rb,
lib/apple_auth/helpers/jwt_server_conditions.rb,
lib/apple_auth/helpers/conditions/aud_condition.rb,
lib/apple_auth/helpers/conditions/exp_condition.rb,
lib/apple_auth/helpers/conditions/iat_condition.rb,
lib/apple_auth/helpers/conditions/iss_condition.rb,
lib/generators/apple_auth/config/config_generator.rb,
lib/apple_auth/helpers/conditions/jwt_validation_error.rb,
lib/generators/apple_auth/apple_auth_controller/apple_auth_controller_generator.rb

Defined Under Namespace

Modules: Base, Conditions, Generators Classes: Config, JWTConditions, JWTDecoder, JWTServerConditions, ServerIdentity, Token, UserIdentity

Class Method Summary collapse

Class Method Details

.configObject



13
14
15
# File 'lib/apple_auth/config.rb', line 13

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/apple_auth/config.rb', line 5

def configure
  yield config
end

.reset_configurationObject



9
10
11
# File 'lib/apple_auth/config.rb', line 9

def reset_configuration
  @config = Config.new
end