Gck.Password.prototype.get_token

function get_token(): Gck.Slot {
    // Gjs wrapper for gck_password_get_token()
}
  

If the password request is to unlock a PKCS\#11 token, then this is the slot containing that token.

Returns

the slot that contains the token, or null if not being requested for a token; must be unreferenced after use