NeuraAuthenticationResult Class Reference

Inherits from NeuraAPIResult : NSObject
Declared in NeuraAuthenticationResult.h

Overview

NeuraAuthenticationResult

  neuraUserId

A unique Neura id for the user. This same id will also be provided on events webhook calls etc. So it is a good practice to store the relation between this id to your own users' records.

@property (nonatomic, nullable, readonly) NSString *neuraUserId

Discussion

A unique Neura id for the user. This same id will also be provided on events webhook calls etc. So it is a good practice to store the relation between this id to your own users' records.

Declared In

NeuraAuthenticationResult.h

  info

NeuraAuthenticationInfo with extra info about the authentication.

@property (nonatomic, nullable, readonly) NeuraAuthenticationInfo *info

Discussion

NeuraAuthenticationInfo with extra info about the authentication.

Declared In

NeuraAuthenticationResult.h

+ resultWithToken:errorString:

Authentication result with token.

+ (nonnull instancetype)resultWithToken:(nullable NSString *)token errorString:(nullable NSString *)errorString

Parameters

token

NSString The app’s access token.

errorString

An error string (if error encountered)

Return Value

New result object instance.

Discussion

Authentication result with token.

Declared In

NeuraAuthenticationResult.h