iES bio authentication

  1. Request authentication and open the pinpad
  2. Wait until the push is received
  3. Proceed with decryption when the push is received
  4. Proceed with bio authentication
  5. Check if authentication is successful

This page explains authentication with the iES service.

Authentication request

Request a push for authentication. The server sends the information required for authentication in a push notification based on the request information.

    //생체 인증 로그인 푸쉬 api 호출
    [[PASSIPADManager shared] reqAuthEx:cusID withAuthType:PAD_USEDTYPE_BIO_AUTH withCompletion:^(PASSIPADResult *result) {
    
        if( [result.code isEqualToString:@"0000"] )
        {
            // 핀패드 활성화 
            [self showPinPad:CertMode];
        }
        else
        {
          //에러 메시지 
        }
        
    }];

used_type refers to the type used. Set the type as specified in the table below.

Used Type Code
Log In 2
Change Password 4
Deregistration 5
Push Token Update 6
Registration for Bio Authentication 8
Bio Authentication 9
Deregistration for Bio Authentication 10

Authentication completion check

Check the completion of authentication based on the push data.

/ 4-1에서 받은 push  메시지 후 처리 
NSString *cusID = [[PASSIPADManager shared] getCusID];

[[PASSIPADManager shared] reqAuthBiometricEx:cusID withCompletion:^(PASSIPADResult * _Nonnull result) {

    if( [result.code isEqualToString:@"0000"] )
    {
        //핀패드 dismiss
        UINavigationController *navi = (UINavigationController*)[[AppDelegate get].window rootViewController];
        KeyPadVC *vc = navi.presentedViewController;
        [vc dismissViewControllerAnimated:YES completion:^{
            [CommonUtil showAlert:@"생체인증 성공"];
        }];
    }
    else
    {
        
    }
}];
Previous