Chapter 14. Types
Prev | Part II. D-Bus API Reference | Next

## Chapter 14. Types

## Struct types

### `Secret`

The Secret type holds a (possibly encoded) secret.

Arrays of Secret don't generally make sense.

     struct Secret {
      ObjectPath session ;
      Array<Byte> parameters ;
      Array<Byte> value ;
      String content_type ;
    }

`session`

  The session that was used to encode the secret.

`parameters`

  Algorithm dependent parameters for secret value encoding.

`value`

  Possibly encoded secret value

`content_type`

  The content type of the secret. For example: 'text/plain; charset=utf8'

Prev | Up | Next
`org.freedesktop.Secret.Prompt` | Home | Map types