mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
27 lines
677 B
Objective-C
Executable File
27 lines
677 B
Objective-C
Executable File
//
|
|
// 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
|