PCAuthenticationResponse

Version 1.3 - Updated on 8/11/2016

Superclass: NSObject
Declared In: PCAuthenticationResponse.h

Contents

Introduction

PCAuthenticationResponse stores access token and related credentials.

Properties

accessToken

@property (nonatomic,
    readonly) NSString *accessToken; 
  • Discussion
    OAuth 2.0 access token.

expiresIn

@property (nonatomic,
    readonly) NSTimeInterval expiresIn;
  • Discussion
    Time-to-live for an access token, in seconds.

isAuthenticated

@property (nonatomic,
    readonly) BOOL isAuthenticated;
  • Discussion
    Returns YES if loggedIn user has a stored accessToken. Returns NO otherwise.

refreshToken

@property (nonatomic,
    readonly) NSString *refreshToken; 
  • Discussion
    OAuth 2.0 refresh token. Can be used in a subsequent call to GET /token (with grant_type=refresh_token), to obtain a fresh access token.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.