Skip to content

Akatus/akatus-ios-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#AKCoreUser

O AKCoreUser é responsavel pelo login e dados do usuário

  • Login
AKUserCore *user = [AKUserCore shared];

[self loginWithEmail:@"email" andPassword:@"password" success:^{
        <#code#>
    } failure:^(NSDictionary *error) {
        <#code#>
    }];
  • Logout
AKUserCore *user = [AKUserCore shared];
[user logoutWithCompletion:^{
    <#code#>
}];
  • Verificando sessão
AKUserCore *user = [AKUserCore shared];
[user isValidSession];
  • Recuperando dados do usuário logado
    AKCoreUser *user = [AKCoreUser userInfo];

    NSLog(@"Email %@", user.email);

About

SDK para aplicação iOS de terceiros

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages