NeuraAuthenticationDelegate Protocol Reference

Declared in NeuraAuthenticationStateDelegate.h

Overview

NeuraAuthenticationDelegate manage the authentication different State

– neuraAuthenticationStateChanged:

neuraAuthenticationStateChanged is called whenever authenticationState changed.

- (void)neuraAuthenticationStateChanged:(NeuraAuthState)newState

Parameters

newState

The new authentication state of the SDK.

Discussion

neuraAuthenticationStateChanged is called whenever authenticationState changed.

Declared In

NeuraAuthenticationStateDelegate.h

– neuraAccessTokenChanged:

neuraAccessTokenChanged is called whenever the value of the access token has changed. This will be called also when the access token is deleted (and nil will be passed).

- (void)neuraAccessTokenChanged:(NSString *_Nullable)newAccessToken

Parameters

newAccessToken

The new access token string.

Discussion

neuraAccessTokenChanged is called whenever the value of the access token has changed. This will be called also when the access token is deleted (and nil will be passed).

Declared In

NeuraAuthenticationStateDelegate.h