forked from nxtbgthng/OAuth2Client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
NXOAuth2Account+Private.h
33 lines (25 loc) · 999 Bytes
/
NXOAuth2Account+Private.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// NXOAuth2Account+Private.h
// OAuth2Client
//
// Created by Tobias Kräntzer on 19.07.11.
//
// Copyright 2011 nxtbgthng. All rights reserved.
//
// Licenced under the new BSD-licence.
// See README.md in this repository for
// the full licence.
//
#import <OAuth2Client/NXOAuth2Account.h>
@protocol NXApplication;
@class NXOAuth2AccessToken;
@interface NXOAuth2Account (Private)
@property (nonatomic, readonly) id<NXApplication> application;
- (instancetype)initAccountWithOAuthClient:(NXOAuth2Client *)oauthClient
accountType:(NSString *)accountType
application:(id<NXApplication>)app;
- (instancetype)initAccountWithAccessToken:(NXOAuth2AccessToken *)accessToken
accountType:(NSString *)accountType
application:(id<NXApplication>)app /*NS_DESIGNATED_INITIALIZER*/ NS_REQUIRES_SUPER;
@property (nonatomic, strong) NXOAuth2AccessToken *accessToken;
@end