# Function: useMinca()

```ts
function useMinca(): object;
```

Defined in: [packages/react/src/context.ts:75](https://github.com/leifriksheim/minca/blob/main/react/src/context.ts#L75)

The sign-in flow from the nearest `MincaProvider`, and its state — or nulls, for an app that connects instead.

## Returns

`object`

### auth

```ts
auth: MincaAuth | null;
```

### session

```ts
session: 
  | MincaSession
  | null;
```

### state

```ts
state: AuthState | null;
```
