Este contenido no está disponible en el idioma seleccionado.

Chapter 6. Namespace: auth


This namespace provides methods to authenticate with the system's management server.
Namespace: auth

6.1. Method: login

Description

Log in with a username and password. Returns the session key most other API methods use.

Parameters

The following parameters are available for this method:

  • string username
  • string password
  • int duration - length of session (optional)
Returns

The following return values are available for this method:

  • string sessionKey
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de la documentación de Red Hat

Legal Notice

Theme

© 2026 Red Hat
Volver arriba