# Authorize Bearer Token

```typescript
import authefyNodeClient from './path/to/@authefy/node-client';

await authefyNodeClient.token.authorizeBearer(
  'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBmMmRjOTk3ZmJlYjVjZWY5ZGMxZjk3MmUyNTkyZGY2IiwiaWF0IjoxNjIxOTk2MTgxOTg3LCJleHAiOjE2MjE5OTYxODE5ODcsInN1YiI6ImE0MWVhMTJmOThhOTUwZDNhNTY4OTFkNjAxYTM3Y2NkIn0.nL1e1D53TOow8gUNtqkJTGEU6oGECwi2aCtMySHAhzk'
);

/*
  returns: {
    id: string;
    externalId?: string;
    iat: number;
    exp: number;
    sub: string;
  }
*/
```
