Authorize Ocean to access Leap API on user's behalf.
(*, config_file, profile, oob, skip_valid, output)
| 1015 | 'can be refreshed.') |
| 1016 | @standardized_output |
| 1017 | def login(*, config_file, profile, oob, skip_valid, output): |
| 1018 | """Authorize Ocean to access Leap API on user's behalf.""" |
| 1019 | |
| 1020 | return _login(config_file=config_file, profile=profile, oob=oob, |
| 1021 | skip_valid=skip_valid, output=output) |
| 1022 | |
| 1023 | def _login(*, config_file, profile, oob, skip_valid, output): |
| 1024 | config = validate_config_v1(load_config(config_file=config_file, profile=profile)) |