---
layout: docs
title: getSigningToken
id: class.Facebook.HackCodegen.SignedSourceBase.getSigningToken
docid: class.Facebook.HackCodegen.SignedSourceBase.getSigningToken
permalink: /docs/reference/class.Facebook.HackCodegen.SignedSourceBase.getSigningToken/
---
# Facebook\\HackCodegen\\SignedSourceBase::getSigningToken()




Get the signing token, which you must embed in the file you wish to sign




``` Hack
public static function getSigningToken(): string;
```




Generally, you should put this in a header comment.




@return string  Signing token.




## Returns




- ` string `