# \OpenTok\ExceptionAuthenticationException

Defines the exception thrown when you use an invalid API or secret.

## Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

File
  Exception/AuthenticationException.php
Package
Class hierarchy
  \OpenTok\Exception\OpenTok\Exception\DomainException
  \OpenTok\Exception\AuthenticationException
Implements
  \OpenTok\Exception\Exception

## Tags

todo |

## Methods

### __construct()

    __construct( $apiKey,  $apiSecret,  $code,  $previous)

#### Parameters

| $apiKey |
| $apiSecret |
| $code |
| $previous |

#

## Tags

todo |

### AuthenticationException.php