mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 17:09:46 +01:00
27 lines
677 B
C
27 lines
677 B
C
|
//
|
||
|
// GDCredentialManager.h
|
||
|
// GDFileManagerExample
|
||
|
//
|
||
|
// Created by Graham Dennis on 11/07/13.
|
||
|
// Copyright (c) 2013 Graham Dennis. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@class GDClientCredential;
|
||
|
@class GDAPIToken;
|
||
|
|
||
|
@interface GDCredentialManager : NSObject
|
||
|
|
||
|
+ (GDCredentialManager *)sharedCredentialManager;
|
||
|
+ (void)setSharedCredentialManager:(GDCredentialManager *)credentialManager;
|
||
|
|
||
|
// Credentials
|
||
|
|
||
|
- (void)addCredential:(GDClientCredential *)credential forAccount:(NSString *)account;
|
||
|
- (void)removeCredential:(GDClientCredential *)credential forAccount:(NSString *)account;
|
||
|
|
||
|
- (NSArray *)clientCredentialsForAccount:(NSString *)account;
|
||
|
|
||
|
@end
|