API Reference > itwin-client > Authentication > AccessToken > initFromTokenString initFromTokenString Method Initialize the jwt field of the current instance of the AccessToken Users would typically override this method in a subclass of AccessToken if their token has to be initialized in a different way initFromTokenString(tokenStr: string): void Parameter Type Description tokenStr string String representation of the token Returns - void Defined in clients/itwin/src/Token.ts Line 119 Last Updated: 11 June, 2024