FRAIdentity.h revision 7c51d54f23c5581d2cf894f9eafb9798e3febd22
127N/A * Distribution License (the License). You may not use this file except in compliance with the
127N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
127N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
127N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
127N/A * Identity is responsible for modelling the information that makes up part of a user's identity in
127N/A * Text representation of the background colour to be used by the user interface for this Identity.
- (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel __unavailable;
- (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel accountName:(NSString *)accountName issuer:(NSString *)issuer image:(NSURL *)image backgroundColor:(NSString *)color;
+ (instancetype)identityWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel accountName:(NSString *)accountName issuer:(NSString *)issuer image:(NSURL *)image backgroundColor:(NSString *)color;
#pragma mark -
* @param error If an error occurs, upon returns contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.
* @return BOOL False if there was an error with the operation, in which case check the error parameter for details.
* @param error If an error occurs, upon returns contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.
* @return BOOL False if there was an error with the operation, in which case check the error parameter for details.
#pragma mark -
@end