Метод | Описание | |
---|---|---|
Consumers ( Database consumers ) : System |
Initialises a new instance of the Consumers class.
|
|
Create ( string name ) : Consumer |
Create a new consumer.
|
|
Create ( string name, |
Create a new Consumer with a callback URL.
|
|
Create ( string name, |
Create a new Consumer with a callback URL and a X509 certificate.
|
|
Create ( string name, |
Create a new Consumer with a X509 certificate.
|
|
Get ( string key ) : Consumer |
Retrieve a Consumer.
|
|
List ( int offset, int limit ) : IList |
List all consumers by name. If there are no results with the given range, an empty list should be returned. |
Метод | Описание | |
---|---|---|
GenerateConsumerSecret ( int binaryLength ) : string |
Gets a cryptographically strong random sequence of values.
|
|
GetCryptoRandomData ( int length ) : byte[] |
Gets a cryptographically strong random sequence of values.
|
public Consumers ( Database consumers ) : System | ||
consumers | Database | The consumers database client. |
Результат | System |
public Create ( string name ) : Consumer | ||
name | string | The name of the |
Результат | Consumer |
public Create ( string name, |
||
name | string | The name of the |
callback | The callback URL of the |
|
Результат | Consumer |
public Create ( string name, |
||
name | string | The name of the |
callback | The callback URL of the |
|
certificate | The X509 certificate for the user. | |
Результат | Consumer |
public Create ( string name, |
||
name | string | The name of the |
certificate | The X509 certificate for the user. | |
Результат | Consumer |
public Get ( string key ) : Consumer | ||
key | string | The key of the |
Результат | Consumer |
public List ( int offset, int limit ) : IList |
||
offset | int | The amount to offset the results by. Minimum of 0. |
limit | int | The maximum number of results to return. Minimum of 0 and maximum of 100. |
Результат | IList |