1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/thirdparty/GDFileManager/GDCredentialManager.h

27 lines
677 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
//
// 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