diff --git a/api/@ohos.rpc.d.ts b/api/@ohos.rpc.d.ts index 97576f4438059f3c015b07336a42a42b1486155c..65c2245729d5da8e32cbdfecdb5fd4a306922e30 100644 --- a/api/@ohos.rpc.d.ts +++ b/api/@ohos.rpc.d.ts @@ -1275,6 +1275,16 @@ declare namespace rpc { */ static getCallingUid(): number; + /** + * Obtains the TOKENID. + * + *

This method is static. + * + * @return Returns the TOKENID. + * @since 8 + */ + static getCallingTokenId(): number; + /** * Obtains the ID of the device where the peer process resides. *