LoginLinkService#
- class LoginLinkService[source]#
- get(*, login_link_id, extra_parameters=None)[source]#
Get a login link and the connected assignment.
- Parameters:
- Returns:
The requested login link, which will also contain information about the connected assignment.
- Return type:
- login(*, login_link_id, extra_parameters=None)[source]#
Login with the given login link.
This will only work when the assignment connected to this link is available, and the lock date has not expired. The received JWT token will only be valid until the 30 minutes after the lock date, and only in the course connected to this link.
The scope of the returned token will change in the future, this will not be considered a breaking change.
- Parameters:
- Returns:
The logged in user and an access token.
- Return type: