ONGConfigModel Class Reference

Inherits from NSObject
Declared in ONGConfigModel.h

Overview

This dictionary class provides a means of supplying App specific configuration properties used by the OneginiClient.

– initWithContentsOfFile:

Creates a new instance and populate it with the contents of a .plist configuration file.

- (id)initWithContentsOfFile:(NSString *)path

Parameters

path

A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary.

Declared In

ONGConfigModel.h

– initWithDictionary:

Creates a new instance using the provided dictionary.

- (id)initWithDictionary:(NSDictionary *)config

Parameters

config

dictionary

Declared In

ONGConfigModel.h

  appIdentifier

Application identifier used in dynamic client registration.

@property (nonatomic, readonly) NSString *appIdentifier

Declared In

ONGConfigModel.h

  appPlatform

Application platform used in dynamic client registration.

@property (nonatomic, readonly) NSString *appPlatform

Declared In

ONGConfigModel.h

  appVersion

Application version used in dynamic client registration.

@property (nonatomic, readonly) NSString *appVersion

Declared In

ONGConfigModel.h

  baseURL

Base url of the OAuth Server installation.

@property (nonatomic, readonly) NSString *baseURL

Declared In

ONGConfigModel.h

  resourceBaseURL

Base url of the resource server.

@property (nonatomic, readonly) NSString *resourceBaseURL

Declared In

ONGConfigModel.h

  redirectURL

Redirect url used to complete registration process.

@property (nonatomic, readonly) NSString *redirectURL

Declared In

ONGConfigModel.h

– objectForKey:

Returns the value associated with a given key.

- (id)objectForKey:(NSString *)key

Parameters

key

key

Return Value

object

Declared In

ONGConfigModel.h