> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.UntrustedCredentials

# <a id="SuperOffice_WebApi_Data_UntrustedCredentials" /> Class UntrustedCredentials

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for UntrustedCredentials.
Credentials for external authentication.

```csharp theme={null}
public class UntrustedCredentials : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[UntrustedCredentials](SuperOffice.WebApi.Data.UntrustedCredentials.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials__ctor" /> UntrustedCredentials()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public UntrustedCredentials()
```

## Properties

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_Comment" /> Comment

Description of credentials. Max 255 characters.

```csharp theme={null}
public virtual string Comment { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_IsActive" /> IsActive

Is this credentials currently active.

```csharp theme={null}
public virtual bool IsActive { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_PublicValue" /> PublicValue

Data stored unencrypted in the db.  Typically server and or username. Max 238 characters.

```csharp theme={null}
public virtual string PublicValue { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_SecretValue" /> SecretValue

Data stored encrypted in the db. Typically a password. Max 70 characters.

```csharp theme={null}
public virtual string SecretValue { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_ValidFrom" /> ValidFrom

Credentials are valid from this date.

```csharp theme={null}
public virtual DateTime ValidFrom { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_UntrustedCredentials_ValidTo" /> ValidTo

Credentials are valid to this date.

```csharp theme={null}
public virtual DateTime ValidTo { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

## See Also

[UserAgent](SuperOffice.WebApi.Agents.UserAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.User SaveUntrustedCredentialsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_SaveUntrustedCredentialsRequest.md)
- [SuperOffice.WebApi.Data.User SaveUntrustedCredentialsForAssociateRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_SaveUntrustedCredentialsForAssociateRequest.md)
- [SuperOffice.WebApi.Agents.IUserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IUserAgent.md)
- [SuperOffice.WebApi.Agents.UserAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.UserAgent.md)
- [SuperOffice.WebApi.Data.User RemoveUntrustedCredentialsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_RemoveUntrustedCredentialsRequest.md)
- [SuperOffice.WebApi.Data.User GetUntrustedCredentialsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_GetUntrustedCredentialsRequest.md)
