snip.token.token.BookToken¶
- class snip.token.token.BookToken(*, name: str, token: str, deployment_url: str = 'https://snip.roentgen.physik.uni-goettingen.de/', book_id: int)¶
Book tokens are only valid for book based access.
Attributes
deployment_urlReturn the type of the token.
book_idnametokenMethods
__init__(*, name, token[, deployment_url])from_unsafe(name, token, book_id[, ...])Create a token object from unsafe input.
- __init__(*, name: str, token: str, deployment_url: str = 'https://snip.roentgen.physik.uni-goettingen.de/', book_id: int) None¶